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

Breadcrumb

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

function Kernel::__construct

1 call to Kernel::__construct()
Kernel::__wakeup in vendor/symfony/http-kernel/Kernel.php

File

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

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function __construct(string $environment, bool $debug) {
    if (!$environment) {
        throw new \InvalidArgumentException(\sprintf('Invalid environment provided to "%s": the environment cannot be empty.', get_debug_type($this)));
    }
}
RSS feed
Powered by Drupal