public function DrushCommand::__construct

8.0.x DrushCommand.php public DrushCommand::__construct(array $config)
master DrushCommand.php public DrushCommand::__construct(array $config)

DrushCommand constructor.

This accepts the Drush command configuration array and does a pretty decent job of building a PsySH command proxy for it. Wheee!

Parameters

array $config: Drush command configuration array.

File

lib/Drush/Psysh/DrushCommand.php, line 43
Contains \Drush\Psysh\DrushCommand.

Namespace

Drush\Psysh

Class

DrushCommand
Main Drush command.

Code

public function __construct(array $config) {
  $this->config = $config;
  parent::__construct();
}