[ Index ]

PHP Cross Reference of phpBB-3.3.14-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: 130 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  getXsdValidationBasePath()
  getNamespace()
  getAlias()
  getConfiguration()
  processConfiguration()
  getProcessedConfigs()
  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

return: array

getProcessedConfigs()   X-Ref


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

return: bool Whether the configuration is enabled



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1