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
12 protected $commandList = [];
14 public function addCommandReference($command)
16 $this->commandList[] = $command;
19 public function getCommandList()
21 return $this->commandList;