public function ExtensionInterface::getAlias in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.php \Symfony\Component\DependencyInjection\Extension\ExtensionInterface::getAlias()
Returns the recommended alias to use in XML.
This alias is also the mandatory prefix to use when using YAML.
@api
Return value
string The alias
2 methods override ExtensionInterface::getAlias()
- Extension::getAlias in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Extension/ Extension.php - Returns the recommended alias to use in XML.
- ProjectExtension::getAlias in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Fixtures/ includes/ ProjectExtension.php - Returns the recommended alias to use in XML.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Extension/ ExtensionInterface.php, line 64
Class
- ExtensionInterface
- ExtensionInterface is the interface implemented by container extension classes.
Namespace
Symfony\Component\DependencyInjection\ExtensionCode
public function getAlias();