function DrupalApplication::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Command/DrupalApplication.php \Drupal\Core\Command\DrupalApplication::__construct()

File

core/lib/Drupal/Core/Command/DrupalApplication.php, line 33

Class

DrupalApplication
Customize the Symfony Application for Drupal.

Namespace

Drupal\Core\Command

Code

public function __construct(protected ClassLoader $classloader, protected array $context) {
  parent::__construct('Drupal', \Drupal::VERSION);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.