| Zeile 34... |
Zeile 34... |
| 34 |
private string|int|bool|array|null|float $default;
|
34 |
private string|int|bool|array|null|float $default;
|
| 35 |
private array|\Closure $suggestedValues;
|
35 |
private array|\Closure $suggestedValues;
|
| 36 |
private string $description;
|
36 |
private string $description;
|
| Zeile 37... |
Zeile 37... |
| 37 |
|
37 |
|
| 38 |
/**
|
38 |
/**
|
| 39 |
* @param string $name The argument name
|
39 |
* @param string $name The argument name
|
| 40 |
* @param int|null $mode The argument mode: self::REQUIRED or self::OPTIONAL
|
40 |
* @param int|null $mode The argument mode: self::REQUIRED or self::OPTIONAL
|
| 41 |
* @param string $description A description text
|
41 |
* @param string $description A description text
|
| 42 |
* @param string|bool|int|float|array|null $default The default value (for self::OPTIONAL mode only)
|
42 |
* @param string|bool|int|float|array|null $default The default value (for self::OPTIONAL mode only)
|
| 43 |
* @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
|
43 |
* @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
|
| 44 |
*
|
44 |
*
|
| 45 |
* @throws InvalidArgumentException When argument mode is not valid
|
45 |
* @throws InvalidArgumentException When argument mode is not valid
|
| 46 |
*/
|
46 |
*/
|