InArrayValidator implements ValidatorInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- validate() : ValidationResult
Methods
__construct()
public
__construct(array<string|int, mixed> $validValues[, bool $strict = false ]) : mixed
Parameters
- $validValues : array<string|int, mixed>
- $strict : bool = false
validate()
public
validate(mixed $value) : ValidationResult
Parameters
- $value : mixed