class Query extends BaseQuery

A Query is used to filter and order collections when making API requests.

Methods

array
getQueryData()

Returns the parameters to execute this query.

$this
setInclude(int|null $include)

Set the amount of levels of links that should be resolved.

$this
setLocale(string|null $locale)

Sets the locale for which content should be retrieved. Set it to * to retrieve all locales.

Details

at line 38
array getQueryData()

Returns the parameters to execute this query.

Return Value

array

at line 58
$this setInclude(int|null $include)

Set the amount of levels of links that should be resolved.

Parameters

int|null $include

Return Value

$this

at line 72
$this setLocale(string|null $locale)

Sets the locale for which content should be retrieved. Set it to * to retrieve all locales.

Parameters

string|null $locale

Return Value

$this