PHP Class Sulu\Bundle\CoreBundle\DependencyInjection\SuluCoreExtension

To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
Inheritance: extends Symfony\Component\HttpKernel\DependencyInjection\Extension, implements Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface
显示文件 Open project: sulu/sulu

Public Methods

Method Description
load ( array $configs, ContainerBuilder $container )
prepend ( ContainerBuilder $container )

Protected Methods

Method Description
createOrGetFolder ( string $directory, ContainerBuilder $container ) : string Create and return directory.

Private Methods

Method Description
getBundleMappingPaths ( string[] $bundles, string $dir ) : array Returns list of bundle config paths.
initCache ( $cache, ContainerBuilder $container, XmlFileLoader $loader )
initContent ( $contentConfig, ContainerBuilder $container, XmlFileLoader $loader )
initFields ( $fieldsConfig, ContainerBuilder $container )
initListBuilder ( ContainerBuilder $container, XmlFileLoader $loader ) Initializes list builder.
initWebspace ( $webspaceConfig, ContainerBuilder $container, XmlFileLoader $loader )

Method Details

createOrGetFolder() protected method

Create and return directory.
protected createOrGetFolder ( string $directory, ContainerBuilder $container ) : string
$directory string
$container Symfony\Component\DependencyInjection\ContainerBuilder
return string

load() public method

public load ( array $configs, ContainerBuilder $container )
$configs array
$container Symfony\Component\DependencyInjection\ContainerBuilder

prepend() public method

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