src/main/php/input/HelpScreen.php
private function getOptionName(TargetMethod $targetMethod): string
    {
        $name   = $targetMethod->paramName();
        $prefix = strlen($name) === 1 ? '-' : '--';
        $suffix = $targetMethod->requiresParameter() ? ' ' . $targetMethod->valueDescription() : '';
        return $prefix . $name . $suffix;
    }
private function getOptionName(TargetMethod $targetMethod): string
    {
        $name   = $targetMethod->paramName();
        $prefix = strlen($name) === 1 ? '-' : '--';
        $suffix = $targetMethod->requiresParameter() ? ' ' . $targetMethod->valueDescription() : '';
        return $prefix . $name . $suffix;
    }
private function getOptionName ( TargetMethod $ targetMethod ) : string { $ name = $ targetMethod -> paramName ( ) ; $ prefix = strlen ( $ name ) === 1 ? '-' : '--' ; $ suffix = $ targetMethod -> requiresParameter ( ) ? ' ' . $ targetMethod -> valueDescription ( ) : '' ; return $ prefix . $ name . $ suffix ; }
retrieves name of option

@param   \stubbles\input\broker\TargetMethod  $targetMethod
@return  string
retrieves name of option