function ParameterBagInterface::set
Sets a service container parameter.
Throws
LogicException if the parameter cannot be set
1 method overrides ParameterBagInterface::set()
- ParameterBag::set in vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBag.php - Sets a service container parameter.
File
-
vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBagInterface.php, line 60
Class
- ParameterBagInterface
- ParameterBagInterface is the interface implemented by objects that manage service container parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function set(string $name, array|bool|string|int|float|\UnitEnum|null $value) : void;