Query
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.
at line 58
$this
setInclude(int|null $include)
Set the amount of levels of links that should be resolved.
at line 72
$this
setLocale(string|null $locale)
Sets the locale for which content should be retrieved. Set it to *
to retrieve all locales.