<?phpnamespace AppBundle;use AppBundle\DependencyInjection\Compiler\DoctrineEntityListenerPass;use Symfony\Component\DependencyInjection\ContainerBuilder;use Symfony\Component\HttpKernel\Bundle\Bundle;class AppBundle extends Bundle{ public function getParent() { return 'SimpleThingsEntityAuditBundle'; } public function build(ContainerBuilder $container) { parent::build($container); $container->addCompilerPass(new DoctrineEntityListenerPass()); }}