You are here

public function CommandRegistryService::getCommands in Googalytics - Google Analytics 8

Get all commands registered.

Return value

\Drupal\ga\AnalyticsCommand\DrupalSettingCommandsInterface[] The array of registered commands.

File

src/CommandRegistryService.php, line 54

Class

CommandRegistryService
Class CommandRegistryService.

Namespace

Drupal\ga

Code

public function getCommands() {
  return $this->commands;
}