You are here

class ProjectWithXsdExtension 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/ProjectWithXsdExtension.php \ProjectWithXsdExtension

Hierarchy

Expanded class hierarchy of ProjectWithXsdExtension

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectWithXsdExtension.php, line 3

View source
class ProjectWithXsdExtension extends ProjectExtension {
  public function getXsdValidationBasePath() {
    return __DIR__ . '/schema';
  }
  public function getNamespace() {
    return 'http://www.example.com/schema/projectwithxsd';
  }
  public function getAlias() {
    return 'projectwithxsd';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ProjectExtension::getConfiguration public function
ProjectExtension::load public function Loads a specific configuration. Overrides ExtensionInterface::load
ProjectWithXsdExtension::getAlias public function Returns the recommended alias to use in XML. Overrides ProjectExtension::getAlias
ProjectWithXsdExtension::getNamespace public function Returns the namespace to be used for this extension (XML namespace). Overrides ProjectExtension::getNamespace
ProjectWithXsdExtension::getXsdValidationBasePath public function Returns the base path for the XSD files. Overrides ProjectExtension::getXsdValidationBasePath