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

Breadcrumb

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

function Container::__construct

Same name in this branch
  1. 11.1.x vendor/lullabot/php-webdriver/lib/WebDriver/Container.php \WebDriver\Container::__construct()
  2. 11.1.x core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container::__construct()
2 calls to Container::__construct()
ContainerBuilder::__construct in vendor/symfony/dependency-injection/ContainerBuilder.php
ContainerBuilder::__construct in vendor/symfony/dependency-injection/ContainerBuilder.php
1 method overrides Container::__construct()
ContainerBuilder::__construct in vendor/symfony/dependency-injection/ContainerBuilder.php

File

vendor/symfony/dependency-injection/Container.php, line 70

Class

Container
Container is a dependency injection container.

Namespace

Symfony\Component\DependencyInjection

Code

public function __construct(?ParameterBagInterface $parameterBag = null) {
    $this->parameterBag = $parameterBag ?? new EnvPlaceholderParameterBag();
}
RSS feed
Powered by Drupal