MatchMode
Comparison applied by an {@see AttributeRule} between the value found at its path and the rule's expected value.
The pattern modes (self::REGEXP, self::STARTS_WITH, self::ENDS_WITH, self::CONTAINS) operate on the string form of the attribute value. The remaining modes apply the corresponding PHP operator directly to the raw value - no type detection or coercion is performed.
Cases
- CONTAINS
- ENDS_WITH
- EQUAL
- GREATER_THAN
- GREATER_THAN_EQUAL
- LESS_THAN
- LESS_THAN_EQUAL
- NOT_EQUAL
- REGEXP
- STARTS_WITH