| Methods |
protected
|
configurePrompts(InputInterface $input): void
Configure the prompt fallbacks.
Configure the prompt fallbacks.
|
#
|
protected
|
promptUntilValid<PResult>(
Closure(): PResult $prompt,
bool|string $required,
(Closure(PResult): mixed)|null $validate,
): PResult
Prompt the user until the given validation callback passes.
Prompt the user until the given validation callback passes.
|
#
|
protected
|
validatePrompt(mixed $value, mixed $rules): ?string
Validate the given prompt value using the validator.
Validate the given prompt value using the validator.
|
#
|
protected
|
getPromptValidatorInstance(
mixed $field,
mixed $value,
mixed $rules,
array $messages = [],
array $attributes = [],
): Validator
Get the validator instance that should be used to validate prompts.
Get the validator instance that should be used to validate prompts.
|
#
|
protected
|
validationMessages(): array<string, string>
Get the validation messages that should be used during prompt validation.
Get the validation messages that should be used during prompt validation.
|
#
|
protected
|
validationAttributes(): array<string, string>
Get the validation attributes that should be used during prompt validation.
Get the validation attributes that should be used during prompt validation.
|
#
|
protected
|
restorePrompts(): void
Restore the prompts output.
Restore the prompts output.
|
#
|