W3cubDocs

/Symfony 4.1

ContainerConfigurator

class ContainerConfigurator extends AbstractConfigurator

Constants

FACTORY

Properties

protected $definition from AbstractConfigurator

Methods

__call($method, $args) from AbstractConfigurator
static mixed processValue(mixed $value, bool $allowServices = false)

Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.

from AbstractConfigurator
__construct(ContainerBuilder $container, PhpFileLoader $loader, array $instanceof, string $path, string $file)
extension(string $namespace, array $config)
import(string $resource, string $type = null, bool $ignoreErrors = false)
ParametersConfigurator parameters()
ServicesConfigurator services()

Details

__call($method, $args)

Parameters

$method
$args

static mixed processValue(mixed $value, bool $allowServices = false)

Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.

Parameters

mixed $value
bool $allowServices whether Definition and Reference are allowed; by default, only scalars and arrays are

Return Value

mixed the value, optionally cast to a Definition/Reference

__construct(ContainerBuilder $container, PhpFileLoader $loader, array $instanceof, string $path, string $file)

Parameters

ContainerBuilder $container
PhpFileLoader $loader
array $instanceof
string $path
string $file

final extension(string $namespace, array $config)

Parameters

string $namespace
array $config

final import(string $resource, string $type = null, bool $ignoreErrors = false)

Parameters

string $resource
string $type
bool $ignoreErrors

final ParametersConfigurator parameters()

Return Value

ParametersConfigurator

final ServicesConfigurator services()

Return Value

ServicesConfigurator