BooleanValidator extends Validator
Tags
Table of Contents
Methods
- __construct() : mixed
- validate() : string|bool|EntityError
Methods
__construct()
public
__construct([null $errorPhrase = null ]) : mixed
Parameters
- $errorPhrase : null = null
Tags
validate()
public
validate(mixed $value, mixed $primary, array<string|int, mixed> $row, Field $field) : string|bool|EntityError
Parameters
- $value : mixed
- $primary : mixed
- $row : array<string|int, mixed>
- $field : Field