Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FrozenParameterBag.php

function FrozenParameterBag::__construct

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

This is always the case when used internally.

Overrides ParameterBag::__construct

1 method overrides FrozenParameterBag::__construct()
ContainerBag::__construct in vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php
For performance reasons, the constructor assumes that all keys are already lowercased.

File

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

Class

FrozenParameterBag
Holds read-only parameters.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function __construct(array $parameters = [], array $deprecatedParameters = [], array $nonEmptyParameters = []) {
    $this->parameters = $parameters;
    $this->resolved = true;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal