Skip to content
Corex

ValidationResult

Corex\Forms\Validation\ValidationResult · class · Forms layer

The outcome of validating a payload: at most one error per field (bail), plus the normalized values for the fields the schema declared. valid === (errors === []).

__construct(bool $valid, array $errors, array $values)

Section titled “__construct(bool $valid, array $errors, array $values)”