\Dewdrop\Db\ValidatorIsInt

Summary

Methods
Properties
Constants
__construct()
isValid()
No public properties found
INVALID
NOT_INT
No protected methods found
$messageTemplates
N/A
No private methods found
No private properties found
N/A

Constants

INVALID

INVALID

NOT_INT

NOT_INT

Properties

$messageTemplates

$messageTemplates : array

Type

array

Methods

__construct()

__construct(array|\Traversable  $options = array()) 

Constructor for the integer validator

Parameters

array|\Traversable $options

isValid()

isValid(string|integer  $value) : boolean

Returns true if and only if $value is a valid integer

Parameters

string|integer $value

Returns

boolean