Validator\Floating

class Floating

Validator for floats. It’s not named “Float” as it is a reserved class name in PHP7.

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