class ServiceCommandlist

Keep a list of all of the service commands that we can find when the Drupal Kernel is booted.

Namespace

Drush\Command

Hierarchy

Expanded class hierarchy of ServiceCommandlist

Members

Contains filters are case sensitive

File

lib/Drush/Command/ServiceCommandlist.php, line 10

View source
class ServiceCommandlist {
  protected $commandList =[];

  public function addCommandReference($command) {
    drush_log(dt("add command reference"), LogLevel::DEBUG);
    $this->commandList[] = $command;
  }

  public function getCommandList() {
    return $this->commandList;
  }
}