phpBB API Documentation
Class

phpbb\di\extension\ext

class ext extends Extension

Container ext extension

Methods

__construct($enabled_extensions)

load(array $config, ContainerBuilder $container)

Loads a specific configuration.

string getAlias()

Returns the recommended alias to use in XML.

Details

at line 28
public __construct($enabled_extensions)

Parameters

$enabled_extensions

at line 44
public load(array $config, ContainerBuilder $container)

Loads a specific configuration.

Parameters

array $config An array of configuration values
ContainerBuilder $container A ContainerBuilder instance

Exceptions

InvalidArgumentException When provided tag is not defined in this extension

at line 63
public string getAlias()

Returns the recommended alias to use in XML.

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

Return Value

string The alias