public static function DrupalKernel::createFromRequest

master DrupalKernel.php public static DrupalKernel::createFromRequest(Request $request, $class_loader, $environment, $allow_dumping = TRUE, $app_root = NULL)

@inheritdoc

1 call to DrupalKernel::createFromRequest()
DrupalBoot8::bootstrap_drupal_configuration in lib/Drush/Boot/DrupalBoot8.php
Initialize and load the Drupal configuration files.

File

lib/Drush/Drupal/DrupalKernel.php, line 16

Namespace

Drush\Drupal

Class

DrupalKernel

Code

public static function createFromRequest(Request $request, $class_loader, $environment, $allow_dumping = TRUE, $app_root = NULL) {
  drush_log(dt("Create from request"), LogLevel::DEBUG);
  $kernel = new static($environment, $class_loader, $allow_dumping, $app_root);
  static::bootEnvironment($app_root);
  $kernel->initializeSettings($request);
  return $kernel;
}