You are here

public function ParameterBag::replace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/ParameterBag.php \Symfony\Component\HttpFoundation\ParameterBag::replace()

Replaces the current parameters by a new set.

Parameters

array $parameters An array of parameters:

1 method overrides ParameterBag::replace()
FileBag::replace in vendor/symfony/http-foundation/FileBag.php
Replaces the current parameters by a new set.

File

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

Class

ParameterBag
ParameterBag is a container for key/value pairs.

Namespace

Symfony\Component\HttpFoundation

Code

public function replace(array $parameters = array()) {
  $this->parameters = $parameters;
}