0 follower

Final Class Yiisoft\Validator\Rule\CompareType

InheritanceYiisoft\Validator\Rule\CompareType

Enum for {@see AbstractCompare::$type}.

Constants

Hide inherited 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