You are here

public function Extension::getNamespace in Zircon Profile 8

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

vendor/symfony/dependency-injection/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();
}