File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/DependencyInjection/Compiler Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,11 @@ protected function prepare()
3030 }
3131
3232 $ def = clone $ this ->container ->findDefinition ('router ' );
33-
34-
3533 $ def ->setClass ('Cache\CacheBundle\Routing\Router ' );
36- $ def ->addMethodCall ('setCache ' , [new Reference (sprintf ('aequasi_cache .instance.%s ' , $ router ['instance ' ]))]);
34+ $ def ->addMethodCall ('setCache ' , [new Reference (sprintf ('cache .instance.%s ' , $ router ['instance ' ]))]);
3735
38- $ this ->container ->setDefinition ('router.cache ' , $ def );
36+ $ this ->container ->setDefinition ('cache.router ' , $ def );
37+ $ this ->container ->setAlias ('router.alias ' , 'cache.router ' );
3938
4039 if ($ router ['auto-register ' ]) {
4140 $ this ->container ->setAlias ('router ' , 'router.cache ' );
You can’t perform that action at this time.
0 commit comments