You are here

public function ParameterBag::remove in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/ParameterBag.php \Symfony\Component\HttpFoundation\ParameterBag::remove()
  2. 8 vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::remove()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::remove()

Removes a parameter.

Parameters

string $name The parameter name:

1 method overrides ParameterBag::remove()
FrozenParameterBag::remove in vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php
Removes a parameter.

File

vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php, line 128

Class

ParameterBag
Holds parameters.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

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