You are here

public function ParameterBag::__construct in Zircon Profile 8

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

Constructor.

Parameters

array $parameters An array of parameters:

1 method overrides ParameterBag::__construct()
FileBag::__construct in vendor/symfony/http-foundation/FileBag.php
Constructor.

File

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

Class

ParameterBag
ParameterBag is a container for key/value pairs.

Namespace

Symfony\Component\HttpFoundation

Code

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