Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Console/View/Components/Secret.php
Строк: 41
<?php

namespace IlluminateConsoleViewComponents;

use 
SymfonyComponentConsoleQuestionQuestion;

class 
Secret extends Component
{
    
/**
     * Renders the component using the given arguments.
     *
     * @param  string  $question
     * @param  bool  $fallback
     * @return mixed
     */
    
public function render($question$fallback true)
    {
        
$question = new Question($question);

        
$question->setHidden(true)->setHiddenFallback($fallback);

        return 
$this->usingQuestionHelper(fn () => $this->output->askQuestion($question));
    }
}
Онлайн: 1
Реклама