PHP Class Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle

Inheritance: extends Symfony\Component\HttpKernel\Bundle\Bundle
显示文件 Open project: symfony-cmf/routing-bundle

Public Methods

Method Description
build ( ContainerBuilder $container )

Private Methods

Method Description
buildBaseCompilerPass ( string $compilerClass, string $driverClass, string $type ) : Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface 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.
buildOrmCompilerPass ( ContainerBuilder $container ) Creates and registers compiler passes for ORM mappings if both doctrine ORM and a suitable compiler pass implementation are available.
buildPhpcrCompilerPass ( ContainerBuilder $container ) Creates and registers compiler passes for PHPCR-ODM mapping if both the phpcr-odm and the phpcr-bundle are present.
findDoctrineOrmCompiler ( ) : boolean | string Looks for a mapping compiler pass. If available, use the one from DoctrineBundle (available only since DoctrineBundle 2.4 and Symfony 2.3) Otherwise use the standalone one from CmfCoreBundle.

Method Details

build() public method

public build ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder