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 $include = \null)
Set the amount of levels of links that should be resolved.
$this
setLocale(string $locale = \null)
Sets the locale for which content should be retrieved. Set it to *
to retrieve all locales.
Details
at line 40
array
getQueryData()
Returns the parameters to execute this query.
at line 60
$this
setInclude(int $include = \null)
Set the amount of levels of links that should be resolved.
at line 74
$this
setLocale(string $locale = \null)
Sets the locale for which content should be retrieved. Set it to *
to retrieve all locales.