MaxValidator implements ValidatorInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- validate() : ValidationResult
Methods
__construct()
public
__construct(int $max) : mixed
Parameters
- $max : int
validate()
public
validate(mixed $value) : ValidationResult
Parameters
- $value : mixed