public function FrozenParameterBag::__construct in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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.
@api
Parameters
array $parameters An array of parameters:
Overrides ParameterBag::__construct
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ParameterBag/ FrozenParameterBag.php, line 37
Class
- FrozenParameterBag
- Holds read-only parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function __construct(array $parameters = array()) {
$this->parameters = $parameters;
$this->resolved = true;
}