%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/crm-ind-code/vendor/laravel/framework/src/Illuminate/Console/View/Components/
Upload File :
Create Path :
Current File : //home/silvzytp/crm-ind-code/vendor/laravel/framework/src/Illuminate/Console/View/Components/Choice.php

<?php

namespace Illuminate\Console\View\Components;

use Symfony\Component\Console\Question\ChoiceQuestion;

class Choice extends Component
{
    /**
     * Renders the component using the given arguments.
     *
     * @param  string  $question
     * @param  array<array-key, string>  $choices
     * @param  mixed  $default
     * @return mixed
     */
    public function render($question, $choices, $default = null)
    {
        return $this->usingQuestionHelper(
            fn () => $this->output->askQuestion(
                new ChoiceQuestion($question, $choices, $default)
            ),
        );
    }
}

Zerion Mini Shell 1.0