[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

Provides useful features shared by many extensions.

Author: Fabien Potencier <fabien@symfony.com>
File Size: 115 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

return: bool Whether the configuration is enabled



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1