public static function limitedAsk(
        string $question,
        string $default = '',
        \Closure $validator = null,
        int $times = 3
    ): string {
        return LimitedAsk::ask($question, $default, $validator, $times);
    }
public static function limitedAsk(
        string $question,
        string $default = '',
        \Closure $validator = null,
        int $times = 3
    ): string {
        return LimitedAsk::ask($question, $default, $validator, $times);
    }
public static function limitedAsk ( string $ question , string $ default = '' , \ Closure $ validator = null , int $ times = 3 ) : string { return LimitedAsk :: ask ( $ question , $ default , $ validator , $ times ) ; }
Ask a question, ask for a limited number of times
@see LimitedAsk::ask()
@param string   $question 问题
@param string   $default 默认值
@param \Closure $validator (默认验证输入是否为空)自定义回调验证输入是否符合要求; 验证成功返回true 否则 可返回错误消息
@param int      $times Allow input times
@return string
Ask a question ask for a limited number of times