public function FrozenParameterBag::set in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/FrozenParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::set()
@api
Overrides ParameterBag::set
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ParameterBag/ FrozenParameterBag.php, line 68
Class
- FrozenParameterBag
- Holds read-only parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function set($name, $value) {
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
}