src/PHPDish/Bundle/ResourceBundle/PHPDishResourceBundle.php
public function build(ContainerBuilder $container)
    {
        parent::build($container);
        $container->addCompilerPass(new DoctrineTargetEntitiesResolverPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 1);
        $container->addCompilerPass(new RegisterResourcePass());
        $container->addCompilerPass(new InjectResourceConfigurationPass());
        $container->addCompilerPass(new InjectServiceManager());
    }
public function build(ContainerBuilder $container)
    {
        parent::build($container);
        $container->addCompilerPass(new DoctrineTargetEntitiesResolverPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 1);
        $container->addCompilerPass(new RegisterResourcePass());
        $container->addCompilerPass(new InjectResourceConfigurationPass());
        $container->addCompilerPass(new InjectServiceManager());
    }
{@inheritdoc}