public static function ask(Writer $output, $input, Question $question)
    {
        if (!isset($input)) {
            $input = STDIN;
        }

        $output->line('');

        $response = self::prompt($output, $input, $question);

        if (is_null($response) || $response === '') {
            return $question->getDefault();
        }

        return $response;
    }
public static function ask(Writer $output, $input, Question $question)
    {
        if (!isset($input)) {
            $input = STDIN;
        }

        $output->line('');

        $response = self::prompt($output, $input, $question);

        if (is_null($response) || $response === '') {
            return $question->getDefault();
        }

        return $response;
    }
public static function ask ( Writer $ output , $ input , Question $ question ) { if ( ! isset ( $ input ) ) { $ input = STDIN ; } $ output -> line ( '' ) ; $ response = self :: prompt ( $ output , $ input , $ question ) ; if ( is_null ( $ response ) || $ response === '' ) { return $ question -> getDefault ( ) ; } return $ response ; }
Do the ask of an question

@param \Neutrino\Cli\Output\Writer     $output
@param resource                        $input
@param \Neutrino\Cli\Question\Question $question

@return null|string
Do the ask of an question