protected function validateInteger($field, $value) { return filter_var($value, \FILTER_VALIDATE_INT) !== false; }