Sets a parameter by name.
@api
Parameters
string $key The key:
mixed $value The value:
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/ParameterBag.php, line 158
Class
- ParameterBag
- ParameterBag is a container for key/value pairs.
Namespace
Symfony\Component\HttpFoundation
Code
public function set($key, $value) {
$this->parameters[$key] = $value;
}