public static function validateInteger($data, callable $filter=null) {
        if ( is_int($data) === false ) return false;
        return self::applyFilter($data, $filter);
    }
public static function validateInteger($data, callable $filter=null) {
        if ( is_int($data) === false ) return false;
        return self::applyFilter($data, $filter);
    }
public static function validateInteger ( $ data , callable $ filter = null ) { if ( is_int ( $ data ) === false ) return false ; return self :: applyFilter ( $ data , $ filter ) ; }
Int validator.

@param mixed $data Data to validate
@param callable $filter Custom filter
@return bool
Int validator .