You are here

public function ExtensionInterface::getAlias in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/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.

Return value

string The alias

2 methods override ExtensionInterface::getAlias()
Extension::getAlias in vendor/symfony/dependency-injection/Extension/Extension.php
Returns the recommended alias to use in XML.
ProjectExtension::getAlias in vendor/symfony/dependency-injection/Tests/Fixtures/includes/ProjectExtension.php
Returns the recommended alias to use in XML.

File

vendor/symfony/dependency-injection/Extension/ExtensionInterface.php, line 54

Class

ExtensionInterface
ExtensionInterface is the interface implemented by container extension classes.

Namespace

Symfony\Component\DependencyInjection\Extension

Code

public function getAlias();