ContainerConfigurator
extends AbstractConfigurator
in package
Tags
Table of Contents
- FACTORY = 'container'
- $anonymousCount : mixed
- $container : mixed
- $file : mixed
- $instanceof : mixed
- $loader : mixed
- $path : mixed
- __call() : mixed
- __construct() : mixed
- extension() : mixed
- import() : mixed
- parameters() : ParametersConfigurator
- processValue() : mixed
- Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.
- services() : ServicesConfigurator
Constants
FACTORY
public
mixed
FACTORY
= 'container'
Properties
$anonymousCount
private
mixed
$anonymousCount
= 0
$container
private
mixed
$container
$file
private
mixed
$file
$instanceof
private
mixed
$instanceof
$loader
private
mixed
$loader
$path
private
mixed
$path
Methods
__call()
public
__call(string $method, array<string|int, mixed> $args) : mixed
Parameters
- $method : string
- $args : array<string|int, mixed>
Return values
mixed —__construct()
public
__construct(ContainerBuilder $container, PhpFileLoader $loader, array<string|int, mixed> &$instanceof, string $path, string $file) : mixed
Parameters
- $container : ContainerBuilder
- $loader : PhpFileLoader
- $instanceof : array<string|int, mixed>
- $path : string
- $file : string
Return values
mixed —extension()
public
final extension(string $namespace, array<string|int, mixed> $config) : mixed
Parameters
- $namespace : string
- $config : array<string|int, mixed>
Return values
mixed —import()
public
final import(string $resource[, string $type = null ][, mixed $ignoreErrors = false ]) : mixed
Parameters
- $resource : string
- $type : string = null
- $ignoreErrors : mixed = false
Return values
mixed —parameters()
public
final parameters() : ParametersConfigurator
Return values
ParametersConfigurator —processValue()
Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.
public
static processValue(mixed $value[, bool $allowServices = false ]) : mixed
Parameters
- $value : mixed
- $allowServices : bool = false
-
whether Definition and Reference are allowed; by default, only scalars and arrays are
Return values
mixed —the value, optionally cast to a Definition/Reference
services()
public
final services() : ServicesConfigurator