interface ExtensionInterface
ExtensionInterface is the interface implemented by container extension classes.
load(array $configs, 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. |
Loads a specific configuration.
array | $configs | |
ContainerBuilder | $container |
InvalidArgumentException | When provided tag is not defined in this extension |
Returns the namespace to be used for this extension (XML namespace).
string | The XML namespace |
Returns the base path for the XSD files.
string | The XSD base path |
Returns the recommended alias to use in XML.
This alias is also the mandatory prefix to use when using YAML.
string | The alias |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.html