Valdi\Validator\Integer

class Integer

Validator for integers.

getFilter()

{@inheritdoc}

getInvalidDetails()

{@inheritdoc}

getFlags()

Gets the flags to use within the validation. See http://php.net/manual/de/filter.filters.validate.php .

Returns:string|null the flags to use
isValid($value, $parameters)

{@inheritdoc}

Parameters:
  • $value
  • $parameters