[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Extension/ -> Extension.php (summary)

Provides useful features shared by many extensions.

Author: Fabien Potencier <fabien@symfony.com>
File Size: 118 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  getXsdValidationBasePath()
  getNamespace()
  getAlias()
  getConfiguration()
  processConfiguration()
  isConfigEnabled()

Functions
Functions that are not part of a class:

getXsdValidationBasePath()   X-Ref
{@inheritdoc}


getNamespace()   X-Ref
{@inheritdoc}


getAlias()   X-Ref
Returns the recommended alias to use in XML.

This alias is also the mandatory prefix to use when using YAML.

This convention is to remove the "Extension" postfix from the class
name and then lowercase and underscore the result. So:

AcmeHelloExtension

becomes

acme_hello

This can be overridden in a sub-class to specify the alias manually.

return: string The alias

getConfiguration(array $config, ContainerBuilder $container)   X-Ref
{@inheritdoc}


processConfiguration(ConfigurationInterface $configuration, array $configs)   X-Ref
No description

isConfigEnabled(ContainerBuilder $container, array $config)   X-Ref

param: ContainerBuilder $container
param: array            $config
return: bool Whether the configuration is enabled



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1