Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
402 lars 1
<?php
2
 
3
namespace Illuminate\Console\View\Components;
4
 
5
class Ask extends Component
6
{
7
    /**
8
     * Renders the component using the given arguments.
9
     *
10
     * @param  string  $question
11
     * @param  string  $default
12
     * @return mixed
13
     */
14
    public function render($question, $default = null)
15
    {
16
        return $this->usingQuestionHelper(fn () => $this->output->ask($question, $default));
17
    }
18
}