protected function DrushCommand::buildAliasesFromConfig

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

Extract Drush command aliases from config array.

Return value

array The command aliases.

1 call to DrushCommand::buildAliasesFromConfig()

File

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

Namespace

Drush\Psysh

Class

DrushCommand
Main Drush command.

Code

protected function buildAliasesFromConfig() {
  return !empty($this->config['aliases']) ? $this->config['aliases'] :[];
}