Choice
Illuminate\Console\View\Components\Choice
class src/Illuminate/Console/View/Components/Choice.php
render
v11.0.0 以前から
render($question, $choices, $default = null, $attempts = null, $multiple = false)
@param string $question
@param array<array-key, string> $choices
@param mixed $default
@param int|null $attempts
@param bool $multiple
@return mixed
-
v11.0.0
追加
- 変更後
render($question, $choices, $default = null, $attempts = null, $multiple = false) [@param string $question, @param array<array-key, string> $choices, @param mixed $default, @param int $attempts, @param bool $multiple, @return mixed]
-
v12.29.0
シグネチャ変更
- 変更前
render($question, $choices, $default = null, $attempts = null, $multiple = false) [@param string $question, @param array<array-key, string> $choices, @param mixed $default, @param int $attempts, @param bool $multiple, @return mixed]- 変更後
render($question, $choices, $default = null, $attempts = null, $multiple = false) [@param string $question, @param array<array-key, string> $choices, @param mixed $default, @param int|null $attempts, @param bool $multiple, @return mixed]