\TxTextControl\ReportingCloud\AssertAssertPageTrait

Trait AssertPageTrait

Summary

Methods
Properties
Constants
assertPage()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$pageMin
$pageMax
N/A

Properties

$pageMin

$pageMin : int

Minimum page number

Type

int

$pageMax

$pageMax : int

Maximum page number (PHP_INT_MAX)

Type

int

Methods

assertPage()

assertPage(int  $value, string  $message = '') : void

Check value is a valid page number

Parameters

int $value
string $message

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException