You are here

public function FrozenParameterBag::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::__construct()

Constructor.

For performance reasons, the constructor assumes that all keys are already lowercased.

This is always the case when used internally.

Parameters

array $parameters An array of parameters:

Overrides ParameterBag::__construct

File

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

Class

FrozenParameterBag
Holds read-only parameters.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

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