PHP Interface Symfony\Component\DependencyInjection\Extension\ExtensionInterface

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

Méthodes publiques

Méthode 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 méthode

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

getNamespace() public méthode

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

getXsdValidationBasePath() public méthode

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
Résultat string The XSD base path

load() public méthode

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