You are here

public function ContainerInterface::setParameter in Service Container 7.2

Same name in this branch
  1. 7.2 lib/Symfony/Component/DependencyInjection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::setParameter()
  2. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::setParameter()
Same name and namespace in other branches
  1. 7 lib/Symfony/Component/DependencyInjection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::setParameter()
  2. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::setParameter()

Sets a parameter.

@api

Parameters

string $name The parameter name:

mixed $value The parameter value:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerInterface.php, line 105

Class

ContainerInterface
ContainerInterface is the interface implemented by service container classes.

Namespace

Symfony\Component\DependencyInjection

Code

public function setParameter($name, $value);