PHP Интерфейс Symfony\Component\DependencyInjection\Extension\ExtensionInterface

Автор: Fabien Potencier ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

getAlias() публичный Метод

This alias is also the mandatory prefix to use when using YAML.
public getAlias ( ) : string
Результат string The alias

getNamespace() публичный Метод

Returns the namespace to be used for this extension (XML namespace).
public getNamespace ( ) : string
Результат string The XML namespace

getXsdValidationBasePath() публичный Метод

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
Результат string The XSD base path

load() публичный Метод

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