src/AppBundle/AppBundle.php line 9

Open in your IDE?
  1. <?php
  2. namespace AppBundle;
  3. use AppBundle\DependencyInjection\Compiler\DoctrineEntityListenerPass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. class AppBundle extends Bundle
  7. {
  8.     public function getParent()
  9.     {
  10.         return 'SimpleThingsEntityAuditBundle';
  11.     }
  12.     public function build(ContainerBuilder $container)
  13.     {
  14.         parent::build($container);
  15.         $container->addCompilerPass(new DoctrineEntityListenerPass());
  16.     }
  17. }