/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Console/View/Components/Confirm.php
20 строк
440 B
Nuno Maduro
Fixes confirm default value (#43334)
21 июл 2022, 16:29
Не верифицирован
21 июл 2022, 16:29
a324e92
Код
Авторство
О чём код?
<?php namespace Illuminate\Console\View\Components; class Confirm extends Component { /** * Renders the component using the given arguments. * * @param string $question * @param bool $default * @return bool */ public function render($question, $default = false) { return $this->usingQuestionHelper( fn () => $this->output->confirm($question, $default), ); } }