You are here

public function FrozenParameterBag::set in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\ParameterBag

Code

public function set($name, $value) {
  throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
}