You are here

public function ParameterBagInterface::set in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface::set()

Sets a service container parameter.

@api

Parameters

string $name The parameter name:

mixed $value The parameter value:

1 method overrides ParameterBagInterface::set()
ParameterBag::set in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php
Sets a service container parameter.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php, line 71

Class

ParameterBagInterface
ParameterBagInterface.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function set($name, $value);