interface ExtensionInterface in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/dependency-injection/Extension/ExtensionInterface.php \Symfony\Component\DependencyInjection\Extension\ExtensionInterface
- 8.0 vendor/symfony/css-selector/XPath/Extension/ExtensionInterface.php \Symfony\Component\CssSelector\XPath\Extension\ExtensionInterface
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Extension/ExtensionInterface.php \Symfony\Component\DependencyInjection\Extension\ExtensionInterface
ExtensionInterface is the interface implemented by container extension classes.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\DependencyInjection\Extension\ExtensionInterface
Expanded class hierarchy of ExtensionInterface
All classes that implement ExtensionInterface
4 files declare their use of ExtensionInterface
- Bundle.php in vendor/
symfony/ http-kernel/ Bundle/ Bundle.php - BundleInterface.php in vendor/
symfony/ http-kernel/ Bundle/ BundleInterface.php - ContainerBuilder.php in vendor/
symfony/ dependency-injection/ ContainerBuilder.php - ProjectExtension.php in vendor/
symfony/ dependency-injection/ Tests/ Fixtures/ includes/ ProjectExtension.php
File
- vendor/
symfony/ dependency-injection/ Extension/ ExtensionInterface.php, line 21
Namespace
Symfony\Component\DependencyInjection\ExtensionView source
interface ExtensionInterface {
/**
* Loads a specific configuration.
*
* @param array $config An array of configuration values
* @param ContainerBuilder $container A ContainerBuilder instance
*
* @throws \InvalidArgumentException When provided tag is not defined in this extension
*/
public function load(array $config, ContainerBuilder $container);
/**
* Returns the namespace to be used for this extension (XML namespace).
*
* @return string The XML namespace
*/
public function getNamespace();
/**
* Returns the base path for the XSD files.
*
* @return string The XSD base path
*/
public function getXsdValidationBasePath();
/**
* Returns the recommended alias to use in XML.
*
* This alias is also the mandatory prefix to use when using YAML.
*
* @return string The alias
*/
public function getAlias();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExtensionInterface:: |
public | function | Returns the recommended alias to use in XML. | 2 |
ExtensionInterface:: |
public | function | Returns the namespace to be used for this extension (XML namespace). | 2 |
ExtensionInterface:: |
public | function | Returns the base path for the XSD files. | 2 |
ExtensionInterface:: |
public | function | Loads a specific configuration. | 4 |