public function FrozenParameterBag::set 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::set()
Sets a service container parameter.
Parameters
string $name The parameter name:
mixed $value The parameter value:
Overrides ParameterBag::set
File
- vendor/
symfony/ dependency-injection/ ParameterBag/ FrozenParameterBag.php, line 58
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.');
}