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

Breadcrumb

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

function ParameterBag::replace

Replaces the current parameters by a new set.

2 methods override ParameterBag::replace()
FileBag::replace in vendor/symfony/http-foundation/FileBag.php
Replaces the current parameters by a new set.
InputBag::replace in vendor/symfony/http-foundation/InputBag.php
Replaces the current input values by a new set.

File

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

Class

ParameterBag
ParameterBag is a container for key/value pairs.

Namespace

Symfony\Component\HttpFoundation

Code

public function replace(array $parameters = []) : void {
    $this->parameters = $parameters;
}
RSS feed
Powered by Drupal