Extension\ExtensionInterface (Component\DependencyInjection)
Symfony\Component\DependencyInjection\Extension\ExtensionInterface
interface ExtensionInterface
ExtensionInterface is the interface implemented by container extension classes.
Methods
load(array $config, ContainerBuilder $container) Loads a specific configuration. | ||
string | getNamespace() Returns the namespace to be used for this extension (XML namespace). | |
string | getXsdValidationBasePath() Returns the base path for the XSD files. | |
string | getAlias() Returns the recommended alias to use in XML. |
Details
public load(array $config, ContainerBuilder $container)
Loads a specific configuration.
public string getNamespace()
Returns the namespace to be used for this extension (XML namespace).
public string getXsdValidationBasePath()
Returns the base path for the XSD files.
public string getAlias()
Returns the recommended alias to use in XML.
This alias is also the mandatory prefix to use when using YAML.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.html