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

Breadcrumb

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

function Kernel::shutdown

Overrides KernelInterface::shutdown

1 call to Kernel::shutdown()
Kernel::reboot in vendor/symfony/http-kernel/Kernel.php
Reboots a kernel.

File

vendor/symfony/http-kernel/Kernel.php, line 149

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function shutdown() : void {
    if (false === $this->booted) {
        return;
    }
    $this->booted = false;
    foreach ($this->getBundles() as $bundle) {
        $bundle->shutdown();
        $bundle->setContainer(null);
    }
    $this->container = null;
    $this->requestStackSize = 0;
    $this->resetServices = false;
}
RSS feed
Powered by Drupal