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

Breadcrumb

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

function Kernel::__wakeup

File

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

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function __wakeup() : void {
    if (\is_object($this->environment) || \is_object($this->debug)) {
        throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
    }
    $this->__construct($this->environment, $this->debug);
}
RSS feed
Powered by Drupal