ComparisonRule
abstract class ComparisonRule extends MetadataValidation
Base class for all comparison (greater than/less than) validation rules.
Methods
jsonSerialize()
No description
getPropertyKeys()
Gets the keys for all the properties of this object.
__construct(string $type, mixed $value, bool $equals = false)
ComparisonRule constructor.
Details
jsonSerialize()
string[]
getPropertyKeys()
Gets the keys for all the properties of this object.
__construct(string $type, mixed $value, bool $equals = false)
ComparisonRule constructor.
Constants
GREATER_THAN |
|
LESS_THAN |
|