PHP 8.3.31
Preview: AskWithCompletion.php Size: 751 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Console/View/Components/AskWithCompletion.php

<?php

namespace Illuminate\Console\View\Components;

use Symfony\Component\Console\Question\Question;

class AskWithCompletion extends Component
{
    /**
     * Renders the component using the given arguments.
     *
     * @param  string  $question
     * @param  array|callable  $choices
     * @param  string  $default
     * @return mixed
     */
    public function render($question, $choices, $default = null)
    {
        $question = new Question($question, $default);

        is_callable($choices)
            ? $question->setAutocompleterCallback($choices)
            : $question->setAutocompleterValues($choices);

        return $this->usingQuestionHelper(
            fn () => $this->output->askQuestion($question)
        );
    }
}

Directory Contents

Dirs: 1 × Files: 16

Name Size Perms Modified Actions
Mutators DIR
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
710 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
636 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
751 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
746 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.37 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
2.91 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
440 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
477 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
2.64 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
475 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.58 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
575 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
481 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.81 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.00 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
488 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).