/** * Integer validator: is a control's value decimal number? * @param TextBase * @return bool */ public static function validateInteger(TextBase $control) { return Validators::isNumericInt($control->getValue()); }