Copied!

ExtensionInterface is the interface implemented by container extension classes.

AbstractInterface
Methods
public abstract getAlias()
 

Returns the recommended alias to use in XML.

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

  • return string
public abstract getNamespace()
 

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

  • return string
public abstract getXsdValidationBasePath()
 

Returns the base path for the XSD files.

  • return string|false
public abstract load(array $configs, Symfony\Component\DependencyInjection\ContainerBuilder $container)
 

Loads a specific configuration.

  • throws InvalidArgumentException When provided tag is not defined in this extension
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration