You are here

public function ProjectExtension::getAlias in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectExtension.php \ProjectExtension::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

Overrides ExtensionInterface::getAlias

1 method overrides ProjectExtension::getAlias()
ProjectWithXsdExtension::getAlias in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectWithXsdExtension.php
Returns the recommended alias to use in XML.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectExtension.php, line 32

Class

ProjectExtension

Code

public function getAlias() {
  return 'project';
}