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/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::__construct()

Constructor.

Parameters

array $parameters An array of parameters:

1 method overrides ParameterBag::__construct()
FrozenParameterBag::__construct in vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php
Constructor.

File

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

Class

ParameterBag
Holds parameters.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

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