interface ExtensionInterface

ExtensionInterface is the interface implemented by container extension classes.

Methods

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.

Details

at line line 28
load(array $configs, ContainerBuilder $container)

Loads a specific configuration.

Parameters

array $configs
ContainerBuilder $container

Exceptions

InvalidArgumentException When provided tag is not defined in this extension

at line line 35
string getNamespace()

Returns the namespace to be used for this extension (XML namespace).

Return Value

string The XML namespace

at line line 42
string getXsdValidationBasePath()

Returns the base path for the XSD files.

Return Value

string The XSD base path

at line line 51
string getAlias()

Returns the recommended alias to use in XML.

This alias is also the mandatory prefix to use when using YAML.

Return Value

string The alias