Table of Contents
Interfaces
- CheckInterface
- ErrorMessageInterface
Properties
-
$validValues
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
check()
: bool
-
getError()
: string
$validValues
public
array<string|int, mixed>
$validValues
__construct()
public
__construct(array<string|int, mixed> $validValues) : mixed
Parameters
-
$validValues
: array<string|int, mixed>
-
check()
public
check(mixed $value) : bool
Parameters
-
$value
: mixed
-
getError()
public
getError(string $field) : string
Parameters
-
$field
: string
-