string
ask(OutputInterface $output, string|array $question, string $default = null, array $autocomplete = null)
Asks a question to the user.
Parameters OutputInterface $output An Output instance string|array $question The question to ask string $default The default answer if none is given by the user array $autocomplete List of values to autocomplete Return Value string The user answer Exceptions RuntimeException If there is no data to read in the input stream