File "Ask.php"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/components/Ask.php
File size: 604 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Illuminate\Console\View\Components;
use Symfony\Component\Console\Question\Question;
class Ask extends Component
{
/**
* Renders the component using the given arguments.
*
* @param string $question
* @param string $default
* @return mixed
*/
public function render($question, $default = null, $multiline = false)
{
return $this->usingQuestionHelper(
fn () => $this->output->askQuestion(
(new Question($question, $default))
->setMultiline($multiline)
)
);
}
}