public function Kernel::boot

Boots the current kernel.

@api

Overrides KernelInterface::boot

1 call to Kernel::boot()
Kernel::handle in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
@api
1 method overrides Kernel::boot()
DrupalKernel::boot in drupal/core/lib/Drupal/Core/DrupalKernel.php
Overrides Kernel::boot().

File

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

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function boot() {
  if (true === $this->booted) {
    return;
  }

  // init bundles
  $this
    ->initializeBundles();

  // init container
  $this
    ->initializeContainer();
  foreach ($this
    ->getBundles() as $bundle) {
    $bundle
      ->setContainer($this->container);
    $bundle
      ->boot();
  }
  $this->booted = true;
}