Returns a one-line short summary describing the specified action.
public getActionHelpSummary ( |
||
$action | action to get summary for | |
리턴 | string | a one-line short summary describing the specified action. |
/** * @inheritdoc */ public function getActionHelpSummary($action) { if ($action instanceof InlineAction) { return parent::getActionHelpSummary($action); } else { /** @var $action GenerateAction */ return $action->generator->getName(); } }