2 namespace Drush\Command;
4 use Drush\Log\LogLevel;
7 * Keep a list of all of the service commands that we can find when the
8 * Drupal Kernel is booted.
10 class ServiceCommandlist {
11 protected $commandList = [];
13 public function addCommandReference($command)
15 drush_log(dt("add command reference"), LogLevel::DEBUG);
16 $this->commandList[] = $command;
19 public function getCommandList()
21 return $this->commandList;