Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CommandLocator.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  private static $commands = [];
17 
22  public static function register($commandListClass)
23  {
24  self::$commands[] = $commandListClass;
25  }
26 
30  public static function getCommands()
31  {
32  return self::$commands;
33  }
34 }