phpBB API Documentation
Class

phpbb\di\extension\core

class core extends Extension

Container core extension

Constants

TWIG_OPTIONS_POSITION

Methods

__construct(string $config_path)

Constructor

load(array $configs, ContainerBuilder $container)

Loads a specific configuration.

getConfiguration(array $config, ContainerBuilder $container)

{@inheritdoc}

string getAlias()

Returns the recommended alias to use in XML.

Details

at line 40
public __construct(string $config_path)

Constructor

Parameters

string $config_path Config path

at line 53
public load(array $configs, ContainerBuilder $container)

Loads a specific configuration.

Parameters

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

Exceptions

InvalidArgumentException When provided tag is not defined in this extension

at line 105
public getConfiguration(array $config, ContainerBuilder $container)

{@inheritdoc}

Parameters

array $config
ContainerBuilder $container

at line 120
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