src/PHPDish/Bundle/ResourceBundle/AbstractBundle.php
public function build(ContainerBuilder $container)
    {
        $container->addCompilerPass(DoctrineOrmMappingsPass::createXmlMappingDriver(
            [$this->getConfigFilesPath() => $this->getModelNamespace()],
            [sprintf('%s.object_manager', $this->getBundlePrefix())]
        ));
    }
public function build(ContainerBuilder $container)
    {
        $container->addCompilerPass(DoctrineOrmMappingsPass::createXmlMappingDriver(
            [$this->getConfigFilesPath() => $this->getModelNamespace()],
            [sprintf('%s.object_manager', $this->getBundlePrefix())]
        ));
    }
{@inheritdoc}