Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ParameterBag.php

function ParameterBag::remove

Same name in this branch
  1. 11.1.x vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::remove()

Removes a parameter.

File

vendor/symfony/http-foundation/ParameterBag.php, line 94

Class

ParameterBag
ParameterBag is a container for key/value pairs.

Namespace

Symfony\Component\HttpFoundation

Code

public function remove(string $key) : void {
    unset($this->parameters[$key]);
}
RSS feed
Powered by Drupal