Пример #1
0
 /**
  * Required setup option types in provided options object
  * @param $definition Definition
  * @param $commandDefinitions static|\stdClass
  */
 static function setUpCommands(Definition $definition, $commandDefinitions)
 {
     $definition->name = 'xhprof-analytics-api';
     $definition->description = 'XHPROF Analytics API';
     $definition->version = 'v0.1';
     $commandDefinitions->compare = Compare::definition();
 }
Пример #2
0
 /**
  * Required setup option types in provided options object
  * @param $definition Definition
  * @param $commandDefinitions static|\stdClass
  */
 static function setUpCommands(Definition $definition, $commandDefinitions)
 {
     $commandDefinitions->compare = Compare::definition();
     $commandDefinitions->import = Import::definition();
     $commandDefinitions->createProject = CreateProject::definition();
     $definition->name = 'xha';
     $definition->description = 'XHPROF analytics tool';
 }