protected function Kernel::getContainerBuilder

Gets a new ContainerBuilder instance used to build the service container.

Return value

ContainerBuilder

1 call to Kernel::getContainerBuilder()
Kernel::buildContainer in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
Builds the service container.
1 method overrides Kernel::getContainerBuilder()
DrupalKernel::getContainerBuilder in drupal/core/lib/Drupal/Core/DrupalKernel.php
Gets a new ContainerBuilder instance used to build the service container.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php, line 687

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

protected function getContainerBuilder() {
  $container = new ContainerBuilder(new ParameterBag($this
    ->getKernelParameters()));
  if (class_exists('ProxyManager\\Configuration')) {
    $container
      ->setProxyInstantiator(new RuntimeInstantiator());
  }
  return $container;
}