You are here

public function ProjectExtension::getNamespace in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectExtension.php \ProjectExtension::getNamespace()

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

@api

Return value

string The XML namespace

Overrides ExtensionInterface::getNamespace

1 method overrides ProjectExtension::getNamespace()
ProjectWithXsdExtension::getNamespace in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectWithXsdExtension.php
Returns the namespace to be used for this extension (XML namespace).

File

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

Class

ProjectExtension

Code

public function getNamespace() {
  return 'http://www.example.com/schema/project';
}