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\HttpKernelCode
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;
}