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)
2727
2828 public function loadConfiguration ()
2929 {
30- $ container = $ this ->getContainerBuilder ();
30+ $ builder = $ this ->getContainerBuilder ();
3131
3232 if (extension_loaded ('pdo_sqlite ' )) {
33- $ container ->addDefinition ($ this ->prefix ('journal ' ))
33+ $ builder ->addDefinition ($ this ->prefix ('journal ' ))
3434 ->setClass ('Nette\Caching\Storages\IJournal ' )
3535 ->setFactory ('Nette\Caching\Storages\SQLiteJournal ' , [$ this ->tempDir . '/cache/journal.s3db ' ]);
3636 }
3737
38- $ container ->addDefinition ($ this ->prefix ('storage ' ))
38+ $ builder ->addDefinition ($ this ->prefix ('storage ' ))
3939 ->setClass ('Nette\Caching\IStorage ' )
4040 ->setFactory ('Nette\Caching\Storages\FileStorage ' , [$ this ->tempDir . '/cache ' ]);
4141
4242 if ($ this ->name === 'cache ' ) {
4343 if (extension_loaded ('pdo_sqlite ' )) {
44- $ container ->addAlias ('nette.cacheJournal ' , $ this ->prefix ('journal ' ));
44+ $ builder ->addAlias ('nette.cacheJournal ' , $ this ->prefix ('journal ' ));
4545 }
46- $ container ->addAlias ('cacheStorage ' , $ this ->prefix ('storage ' ));
46+ $ builder ->addAlias ('cacheStorage ' , $ this ->prefix ('storage ' ));
4747 }
4848 }
4949
You can’t perform that action at this time.
0 commit comments