src/Application/ToolsBundle/ApplicationToolsBundle.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Application\ToolsBundle;
  3. use Symfony\Component\HttpKernel\Bundle\Bundle;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use App\Application\ToolsBundle\DependencyInjection\Compiler\TaggedServiceListerCompilerPass;
  6. class ApplicationToolsBundle extends Bundle
  7. {
  8.     public function build(ContainerBuilder $container)
  9.     {
  10.         parent::build($container);
  11.         $container->addCompilerPass(new TaggedServiceListerCompilerPass());
  12.     }
  13.     
  14.     /**
  15.      * {@inheritdoc}
  16.      */
  17.     public function getParent()
  18.     {
  19.         return 'ToolsBundle';
  20.     }    
  21.     
  22.     
  23. }
  24. ?>