interface ExtensionInterface

ExtensionInterface is the interface implemented by container extension classes.

Methods

void
load(array$configs,ContainerBuilder$container)

Loads a specific configuration.

string
getNamespace()

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

string|false
getXsdValidationBasePath()

Returns the base path for the XSD files.

string
getAlias()

Returns the recommended alias to use in XML.

Details

void load(array$configs,ContainerBuilder$container)

Loads a specific configuration.

Parameters

array $configs
ContainerBuilder $container

Return Value

void

Exceptions

InvalidArgumentException When provided tag is not defined in this extension

string getNamespace()

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

Return Value

string

string|false getXsdValidationBasePath()

Returns the base path for the XSD files.

Return Value

string|false

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