Bånder

SearchResults extends Data
in package

Table of Contents

Properties

$caseSensitive  : bool
$hasMoreResults  : bool
$pattern  : string
$results  : array<string|int, SearchResult>
$searchTimeMs  : float
$totalMatches  : int

Methods

__construct()  : mixed
create()  : self
getFirstResult()  : SearchResult|null
getLastResult()  : SearchResult|null
isEmpty()  : bool

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $results, string $pattern, bool $caseSensitive, int $totalMatches, float $searchTimeMs, bool $hasMoreResults) : mixed
Parameters
$results : array<string|int, mixed>
$pattern : string
$caseSensitive : bool
$totalMatches : int
$searchTimeMs : float
$hasMoreResults : bool

create()

public static create(array<string|int, mixed> $results, string $pattern, bool $caseSensitive, float $searchTimeMs[, bool $hasMoreResults = false ]) : self
Parameters
$results : array<string|int, mixed>
$pattern : string
$caseSensitive : bool
$searchTimeMs : float
$hasMoreResults : bool = false
Return values
self

        
On this page

Search results