PHP Class Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle

Inheritance: extends Symfony\Component\HttpKernel\Bundle\Bundle
Afficher le fichier Open project: symfony-cmf/routing-bundle

Méthodes publiques

Méthode Description
build ( ContainerBuilder $container )

Private Methods

Méthode 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 méthode

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