ComparisonRule
abstract class ComparisonRule extends MetadataValidation
Base class for all comparison (greater than/less than) validation rules.
Methods
__construct(string $type, mixed $value, bool $equals = false)
ComparisonRule constructor.
Details
__construct(string $type, mixed $value, bool $equals = false)
ComparisonRule constructor.
Constants
GREATER_THAN |
|
LESS_THAN |
|