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 you
a) 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>
Synopsis
class ConfigurableExtension
extends Extension
{
- // methods
- public final void load()
- protected abstract void loadInternal()
- // Inherited methods from Extension
- public array getClassesToCompile()
- public void addClassesToCompile()
- // Inherited methods from Extension
- public string getXsdValidationBasePath()
- public string getNamespace()
- public string getAlias()
- public void getConfiguration()
- protected final void processConfiguration()
- protected Boolean isConfigEnabled()
Hierarchy
Methods
protected
- loadInternal() — Configures the passed container according to the merged configuration.
public
- load() — {@inheritDoc}
Inherited from Symfony\Component\HttpKernel\DependencyInjection\Extension
public
- addClassesToCompile() — Adds classes to the class cache.
- getClassesToCompile() — Gets the classes to cache.
Inherited from Symfony\Component\DependencyInjection\Extension\Extension
protected
public
- getAlias() — Returns the recommended alias to use in XML.
- getConfiguration() — {@inheritDoc}
- getNamespace() — Returns the namespace to be used for this extension (XML namespace).
- getXsdValidationBasePath() — Returns the base path for the XSD files.