Created
September 21, 2014 18:59
Revisions
-
jsifalda created this gist
Sep 21, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ <?php class AppExtension extends CompilerExtension { public function loadConfiguration() { $builder = $this->getContainerBuilder(); $builder->addDefinition('service.routerFactory') ->setClass('Modules\RouterFactory') // YOUR ROUTER FACTORY CLASS ->addTag(Flame\Modules\ModulesExtension::TAG_ROUTER); // DONT FORGET TO ADD THE TAG! } }