function ParameterBagInterface::add
Adds parameters to the service container parameters.
Throws
LogicException if the parameter cannot be added
1 method overrides ParameterBagInterface::add()
- ParameterBag::add in vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBag.php - Adds parameters to the service container parameters.
File
-
vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBagInterface.php, line 36
Class
- ParameterBagInterface
- ParameterBagInterface is the interface implemented by objects that manage service container parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function add(array $parameters) : void;