public function FrozenParameterBag::add in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::add()
Adds parameters to the service container parameters.
Parameters
array $parameters An array of parameters:
Overrides ParameterBag::add
File
- vendor/
symfony/ dependency-injection/ ParameterBag/ FrozenParameterBag.php, line 50
Class
- FrozenParameterBag
- Holds read-only parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function add(array $parameters) {
throw new LogicException('Impossible to call add() on a frozen ParameterBag.');
}