ExtensionInterface
in
ExtensionInterface is the interface implemented by container extension classes.
Tags
Table of Contents
- getAlias() : string
- Returns the recommended alias to use in XML.
- getNamespace() : string
- Returns the namespace to be used for this extension (XML namespace).
- getXsdValidationBasePath() : string|false
- Returns the base path for the XSD files.
- load() : mixed
- Loads a specific configuration.
Methods
getAlias()
Returns the recommended alias to use in XML.
public
getAlias() : string
This alias is also the mandatory prefix to use when using YAML.
Return values
string —The alias
getNamespace()
Returns the namespace to be used for this extension (XML namespace).
public
getNamespace() : string
Return values
string —The XML namespace
getXsdValidationBasePath()
Returns the base path for the XSD files.
public
getXsdValidationBasePath() : string|false
Return values
string|false —load()
Loads a specific configuration.
public
load(array<string|int, mixed> $configs, ContainerBuilder $container) : mixed
Parameters
- $configs : array<string|int, mixed>
- $container : ContainerBuilder