class TypeValidator implements BasicValidator
A validator for validating the (PHP) type of the value submitted.
<code>
<column name="some_int" type="INTEGER" required="true"/>
<validator column="some_int">
<rule name="type" value="integer" message="Please specify an integer value for some_int column." />
</validator>
</code>
Methods
boolean | isValid(ValidatorMap $map, mixed $value) |