uXlU0G$XlU@+,XlU>=XlUE/XlUdLXlU]XlUP6XlU<EXlUqXlUPt6XlU<XlU*0XlUP`G$XlU@+EXlU0PqXlUPPt@XlU<yXlU|XlU QXlU eXlU @Y XlU@ PsG$XlUP+=XlU E=XlU E/XlUd}XlU `\@XlU` p]XlUpP@XlU<XlUP2@XlU<@8XlUXlU@*XlU XlU`XlU c XlU`= XlUG$XlU+=XlU EEXlU q=XlU EXlUPB@XlU<XlU GXlUPt6XlU<XlU*0XlUPP G$XlU`+r8XlU/X p6XlU<,XlU >,XlU>-YlU%YlU-YlU0YlU-YlU0YlUPYlU-YlU%YlU8YlUYlU==`hYlU-YlU%YlU-YlU0= YlUhYlU-YlUЂPYlU@YlU-YlU0YlU@ YlU0`hYlU-YlU0YlUPYlUpYlUYlUuu YlUhYlU-YlU0YlUtYlU0YlU@ YlU hYlUYlU0YlUPYlUP@YlUYlU$|$|ЉYlUYlU@8-YlU7#XlUP]YlUyYlUyYlU0rhle\Doctrine\Orm'] ) ); $container->addCompilerPass( DoctrineOrmMappingsPass::createXmlMappingDriver( [ realpath(__DIR__.'/Resources/config/doctrine-model') => 'Symfony\Cmf\Bundle\RoutingBundle\Model', ], ['cmf_routing.dynamic.persistence.orm.manager_name'], 'cmf_routing.backend_type_orm_custom', [] ) ); } /** * Builds the compiler pass for the symfony core routing component. The * compiler pass factory method uses the SymfonyFileLocator which does * magic with the namespace and thus does not work here. * * @param string $compilerClass the compiler class to instantiate * @param string $driverClass the xml driver class for this backend * @param string $type the backend type name * * @return CompilerPassInterface */ private function buildBaseCompilerPass($compilerClass, $driverClass, $type) { $arguments = [[realpath(__DIR__.'/Resources/config/doctrine-base')], sprintf('.%s.xml', $type)]; $locator = new Definition(DefaultFileLocator::class, $arguments); $driver = new Definition($driverClass, [$locator]); return new $compilerClass( $driver, ['Symfony\Component\Routing'], [sprintf('cmf_routing.dynamic.persistence.%s.manager_name', $type)], sprintf('cmf_routing.backend_type_%s', $type) ); } }