Beispiel #1
0
 protected function showSwitchSummary(Context $context, $sortedSwitches)
 {
     SwitchesHelper::showSwitchSummary($context, $sortedSwitches);
 }
Beispiel #2
0
 protected function showPhixSwitchSummary(Context $context, $sortedSwitches)
 {
     $so = $context->stdout;
     $so->outputLine(null, 'SYNOPSIS');
     $so->setIndent(4);
     $so->output($context->commandStyle, $context->argvZero);
     SwitchesHelper::showSwitchSummary($context, $sortedSwitches);
     $so->outputLine(null, ' [ command ] [ command-options ]');
     $so->outputBlankLine();
 }