Example #1
0
 /**
  * @param \Etu\Core\CoreBundle\Framework\Definition\Module $module
  * @return \AppKernel
  */
 public function registerModuleDefinition(Module $module)
 {
     $this->modules[$module->getName()] = $module;
     return $this;
 }
Example #2
0
 /**
  * @param ContainerBuilder $container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     $container->addCompilerPass(new SerializerCompilerPass());
     $container->addCompilerPass(new GrantTypeCompilerPass());
 }
Example #3
0
 /**
  * @param ContainerBuilder $container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     $container->addCompilerPass(new HelperCompilerPass());
 }