Beispiel #1
0
 /**
  * @param Definition $definition
  * @param \stdClass|static $commandDefinitions
  */
 static function setUpCommands(Definition $definition, $commandDefinitions)
 {
     $commandDefinitions->addUser = AddUser::definition();
     $commandDefinitions->listUsers = ListUsers::definition();
     $commandDefinitions->fetchStats = FetchStats::definition();
     $commandDefinitions->showStats = ShowStats::definition();
     $commandDefinitions->migrate = Migrate::definition();
 }
Beispiel #2
0
 /**
  * @param Definition $definition
  * @param \stdClass|static $commandDefinitions
  */
 static function setUpCommands(Definition $definition, $commandDefinitions)
 {
     $commandDefinitions->show = ShowStats::definition();
 }