public function ProjectServiceContainer::setParameter

Sets a parameter.

@api

Parameters

string $name The parameter name:

mixed $value The parameter value:

Overrides Container::setParameter

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php, line 76

Class

ProjectServiceContainer
ProjectServiceContainer

Code

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