Final Class Yiisoft\Validator\Rule\CompareType
| Inheritance | Yiisoft\Validator\Rule\CompareType |
|---|
Enum for {@see AbstractCompare::$type}.
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| NUMBER | 'number' | Constant for specifying the comparison as numeric values. Values will be converted to float numbers before comparison. | Yiisoft\Validator\Rule\CompareType |
| ORIGINAL | 'original' | Constant for specifying the comparison as original values. Values will not be converted to other type before comparison. | Yiisoft\Validator\Rule\CompareType |
| STRING | 'string' | Constant for specifying the comparison as string values. Values will be converted to strings before comparison. | Yiisoft\Validator\Rule\CompareType |
Signup or Login in order to comment.