You are here

public function ContainerBuilder::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::__construct()
  2. 9 core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::__construct()

File

core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 32

Class

ContainerBuilder
Drupal's dependency injection container builder.

Namespace

Drupal\Core\DependencyInjection

Code

public function __construct(ParameterBagInterface $parameterBag = NULL) {
  parent::__construct($parameterBag);
  $this
    ->setResourceTracking(FALSE);
}