File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,23 +27,23 @@ public function __construct($tempDir)
27
27
28
28
public function loadConfiguration ()
29
29
{
30
- $ container = $ this ->getContainerBuilder ();
30
+ $ builder = $ this ->getContainerBuilder ();
31
31
32
32
if (extension_loaded ('pdo_sqlite ' )) {
33
- $ container ->addDefinition ($ this ->prefix ('journal ' ))
33
+ $ builder ->addDefinition ($ this ->prefix ('journal ' ))
34
34
->setClass (Nette \Caching \Storages \IJournal::class)
35
35
->setFactory (Nette \Caching \Storages \SQLiteJournal::class, [$ this ->tempDir . '/cache/journal.s3db ' ]);
36
36
}
37
37
38
- $ container ->addDefinition ($ this ->prefix ('storage ' ))
38
+ $ builder ->addDefinition ($ this ->prefix ('storage ' ))
39
39
->setClass (Nette \Caching \IStorage::class)
40
40
->setFactory (Nette \Caching \Storages \FileStorage::class, [$ this ->tempDir . '/cache ' ]);
41
41
42
42
if ($ this ->name === 'cache ' ) {
43
43
if (extension_loaded ('pdo_sqlite ' )) {
44
- $ container ->addAlias ('nette.cacheJournal ' , $ this ->prefix ('journal ' ));
44
+ $ builder ->addAlias ('nette.cacheJournal ' , $ this ->prefix ('journal ' ));
45
45
}
46
- $ container ->addAlias ('cacheStorage ' , $ this ->prefix ('storage ' ));
46
+ $ builder ->addAlias ('cacheStorage ' , $ this ->prefix ('storage ' ));
47
47
}
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments