public function FrozenParameterBag::add in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/FrozenParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::add()
@api
Overrides ParameterBag::add
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ParameterBag/ FrozenParameterBag.php, line 58
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.');
}