EnumValueValidator implements Validator
Attributes
- #[Attribute]
Table of Contents
Interfaces
Methods
- __construct() : mixed
- validate() : bool
Methods
__construct()
public
__construct(string $enumClassName) : mixed
Parameters
- $enumClassName : string
validate()
public
validate(mixed $value) : bool
Parameters
- $value : mixed