\TxTextControl\ReportingCloud\AssertAssertRangeTrait

Trait AssertRangeTrait

Summary

Methods
Properties
Constants
assertRange()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

assertRange()

assertRange(int  $value, int  $min, int  $max, string  $message = '') : void

Check value is in range min..max

Parameters

int $value
int $min
int $max
string $message

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException