protected function DrushCommand::configure

8.0.x DrushCommand.php protected DrushCommand::configure()
master DrushCommand.php protected DrushCommand::configure()

File

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

Namespace

Drush\Psysh

Class

DrushCommand
Main Drush command.

Code

protected function configure() {
  $this->setName($this->config['command'])->setAliases($this->buildAliasesFromConfig())->setDefinition($this->buildDefinitionFromConfig())->setDescription($this->config['description'])->setHelp($this->buildHelpFromConfig());
}