API DataValidator_Filters InFloatRange - chsxf/mfx GitHub Wiki

InFloatRange Class

chsxf\MFX\DataValidator\Filters

class InFloatRange extends chsxf\MFX\DataValidator\AbstractFilter

Summary

Descriptor of a filter field checking presence of the value in a Min Max range

Since 1.0

Methods

__construct

public function __construct(float $value1, float $value2, bool $includeMax = false, ?string $message = null)

Constructor

Since 1.0

Parameters

Name Type Description
$min float the minimum value
$max float the maximum value
$includeMax bool If set, includes the max value. If not, the max value is not part of the range.
$message string Error message