Файл: vendor/laravel/framework/src/Illuminate/Console/View/Components/Ask.php
Строк: 43
<?php
namespace IlluminateConsoleViewComponents;
use SymfonyComponentConsoleQuestionQuestion;
class Ask extends Component
{
/**
* Renders the component using the given arguments.
*
* @param string $question
* @param string|null $default
* @param bool $multiline
* @return mixed
*/
public function render($question, $default = null, $multiline = false)
{
return $this->usingQuestionHelper(
fn () => $this->output->askQuestion(
(new Question($question, $default))
->setMultiline($multiline)
)
);
}
}