public function ParameterBag::set in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/http-foundation/ParameterBag.php \Symfony\Component\HttpFoundation\ParameterBag::set()
- 8 vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::set()
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::set()
Sets a service container parameter.
Parameters
string $name The parameter name:
mixed $value The parameter value:
Overrides ParameterBagInterface::set
1 method overrides ParameterBag::set()
- FrozenParameterBag::set in vendor/
symfony/ dependency-injection/ ParameterBag/ FrozenParameterBag.php - Sets a service container parameter.
File
- vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBag.php, line 106
Class
- ParameterBag
- Holds parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function set($name, $value) {
$this->parameters[strtolower($name)] = $value;
}