PHP Interface Symfony\Component\DependencyInjection\Extension\ExtensionInterface

Author: Fabien Potencier ([email protected])
Datei anzeigen Open project: pmjones/php-framework-benchmarks Interface Usage Examples

Public Methods

Method Description
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 Returns the base path for the XSD files.
load ( array $config, ContainerBuilder $container ) Loads a specific configuration.

Method Details

getAlias() public method

This alias is also the mandatory prefix to use when using YAML.
public getAlias ( ) : string
return string The alias

getNamespace() public method

Returns the namespace to be used for this extension (XML namespace).
public getNamespace ( ) : string
return string The XML namespace

getXsdValidationBasePath() public method

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
return string The XSD base path

load() public method

Loads a specific configuration.
public load ( array $config, ContainerBuilder $container )
$config array An array of configuration values
$container Symfony\Component\DependencyInjection\ContainerBuilder A ContainerBuilder instance