ContainerConfigurator
class ContainerConfigurator extends AbstractConfigurator
Constants
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, $path, $file) |
|
|
extension($namespace, array $config) |
|
|
import($resource, $type = null, $ignoreErrors = false) |
|
ParametersConfigurator |
parameters() |
|
ServicesConfigurator |
services() |
|
Details
__call($method, $args)
Parameters
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, $path, $file)
Parameters
final extension($namespace, array $config)
Parameters
final import($resource, $type = null, $ignoreErrors = false)
Parameters
|
$resource |
|
|
$type |
|
|
$ignoreErrors |
|
Return Value
Return Value