You are here

public function InstallCommand::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Command/InstallCommand.php \Drupal\Core\Command\InstallCommand::__construct()
  2. 10 core/lib/Drupal/Core/Command/InstallCommand.php \Drupal\Core\Command\InstallCommand::__construct()

Constructs a new InstallCommand command.

Parameters

object $class_loader: The class loader.

File

core/lib/Drupal/Core/Command/InstallCommand.php, line 40

Class

InstallCommand
Installs a Drupal site for local testing/development.

Namespace

Drupal\Core\Command

Code

public function __construct($class_loader) {
  parent::__construct('install');
  $this->classLoader = $class_loader;
}