You are here

public function Extension::getNamespace in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Extension/Extension.php \Symfony\Component\DependencyInjection\Extension\Extension::getNamespace()

Returns the namespace to be used for this extension (XML namespace).

Return value

string The XML namespace

Overrides ExtensionInterface::getNamespace

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Extension/Extension.php, line 44

Class

Extension
Provides useful features shared by many extensions.

Namespace

Symfony\Component\DependencyInjection\Extension

Code

public function getNamespace() {
  return 'http://example.org/schema/dic/' . $this
    ->getAlias();
}