You are here

public function ParameterBagInterface::set in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface::set()

Sets a service container parameter.

Parameters

string $name The parameter name:

mixed $value The parameter value:

Throws

LogicException if the parameter can not be set

1 method overrides ParameterBagInterface::set()
ParameterBag::set in vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php
Sets a service container parameter.

File

vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php, line 66

Class

ParameterBagInterface
ParameterBagInterface.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function set($name, $value);