MutableSearchDemand extends SearchDemand

FinalYes

Holds necessary data to query data from a search provider

Internal

for internal use only, no public API

Table of Contents

Constants

DEFAULT_LIMIT  = 20

Properties

$demandProperties  : array<string|int, DemandProperty>

Methods

__construct()  : mixed
freeze()  : SearchDemand
fromRequest()  : static
fromSearchDemand()  : self
getLimit()  : int
getOffset()  : int
getPageId()  : int
getProperties()  : array<string|int, DemandProperty>
getProperty()  : DemandProperty|null
getQuery()  : string
getSearchProviders()  : array<string|int, SearchProviderInterface>>
setProperty()  : self

Constants

DEFAULT_LIMIT

public mixed DEFAULT_LIMIT = 20

Properties

Methods

fromRequest()

public static fromRequest(ServerRequestInterface $request) : static
Parameters
$request : ServerRequestInterface
Return values
static

getLimit()

public getLimit() : int
Return values
int

getOffset()

public getOffset() : int
Return values
int

getPageId()

public getPageId() : int
Return values
int

getQuery()

public getQuery() : string
Return values
string

getSearchProviders()

public getSearchProviders() : array<string|int, SearchProviderInterface>>
Return values
array<string|int, SearchProviderInterface>>

        
On this page

Search results