protected function showSwitchSummary(Context $context, $sortedSwitches) { SwitchesHelper::showSwitchSummary($context, $sortedSwitches); }
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(); }