ParametersConfigurator
class ParametersConfigurator extends AbstractConfigurator
Constants
FACTORY |
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) | ||
$this | set(string $name, mixed $value) Creates a parameter. | |
$this | __invoke(string $name, mixed $value) Creates a parameter. |
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)
Parameters
ContainerBuilder | $container |
final $this set(string $name, mixed $value)
Creates a parameter.
Parameters
string | $name | |
mixed | $value |
Return Value
$this |
final $this __invoke(string $name, mixed $value)
Creates a parameter.
Parameters
string | $name | |
mixed | $value |
Return Value
$this |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Component/DependencyInjection/Loader/Configurator/ParametersConfigurator.html