abstract class ConfigurableExtension in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/DependencyInjection/ConfigurableExtension.php \Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension
This extension sub-class provides first-class integration with the Config/Definition Component.
You can use this as base class if
a) you use the Config/Definition component for configuration, b) your configuration class is named "Configuration", and c) the configuration class resides in the DependencyInjection sub-folder.
@author Johannes M. Schmitt <schmittjoh@gmail.com>
Hierarchy
- class \Symfony\Component\DependencyInjection\Extension\Extension implements ConfigurationExtensionInterface, ExtensionInterface
- class \Symfony\Component\HttpKernel\DependencyInjection\Extension
- class \Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension
- class \Symfony\Component\HttpKernel\DependencyInjection\Extension
Expanded class hierarchy of ConfigurableExtension
File
- vendor/
symfony/ http-kernel/ DependencyInjection/ ConfigurableExtension.php, line 28
Namespace
Symfony\Component\HttpKernel\DependencyInjectionView source
abstract class ConfigurableExtension extends Extension {
/**
* {@inheritdoc}
*/
public final function load(array $configs, ContainerBuilder $container) {
$this
->loadInternal($this
->processConfiguration($this
->getConfiguration($configs, $container), $configs), $container);
}
/**
* Configures the passed container according to the merged configuration.
*
* @param array $mergedConfig
* @param ContainerBuilder $container
*/
protected abstract function loadInternal(array $mergedConfig, ContainerBuilder $container);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableExtension:: |
final public | function |
Loads a specific configuration. Overrides ExtensionInterface:: |
|
ConfigurableExtension:: |
abstract protected | function | Configures the passed container according to the merged configuration. | |
Extension:: |
private | property | ||
Extension:: |
public | function | Adds classes to the class cache. | |
Extension:: |
public | function |
Returns the recommended alias to use in XML. Overrides ExtensionInterface:: |
|
Extension:: |
public | function | Gets the classes to cache. | |
Extension:: |
public | function |
Returns extension configuration. Overrides ConfigurationExtensionInterface:: |
|
Extension:: |
public | function |
Returns the namespace to be used for this extension (XML namespace). Overrides ExtensionInterface:: |
|
Extension:: |
public | function |
Returns the base path for the XSD files. Overrides ExtensionInterface:: |
|
Extension:: |
protected | function | ||
Extension:: |
final protected | function |