public function ParameterBag::remove

Same name in this branch

Removes a parameter.

@api

Parameters

string $key The key:

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/ParameterBag.php, line 184

Class

ParameterBag
ParameterBag is a container for key/value pairs.

Namespace

Symfony\Component\HttpFoundation

Code

public function remove($key) {
  unset($this->parameters[$key]);
}