ScanTerm
in package
Table of Contents
- $exclusive : bool|null
- $term : string
- __construct() : mixed
- build() : ScanTerm
- Static helper to keep code more readable
- exclusive() : ScanTerm
Properties
$exclusive
private
bool|null
$exclusive
$term
private
string
$term
Methods
__construct()
public
__construct(string $term[, bool|null $exclusive = null ]) : mixed
Parameters
- $term : string
- $exclusive : bool|null = null
Tags
Return values
mixed —build()
Static helper to keep code more readable
public
static build(string $term[, bool|null $exclusive = null ]) : ScanTerm
Parameters
- $term : string
-
The scan term
- $exclusive : bool|null = null
-
Set to true for the scan term to be exclusive. Defaults to false (inclusive)
Tags
Return values
ScanTerm —exclusive()
public
exclusive(bool $exclusive) : ScanTerm
Parameters
- $exclusive : bool