GraphqlApi
extends AbstractApi
in package
GraphQL API is a tool that allows you to retrieve exactly the data you need using more specific and flexible queries.
Table of Contents
Methods
- query() : array<string|int, mixed>
- GraphQL Query
- getFullUrl() : string
Methods
query()
GraphQL Query
public
query(string $query[, string|null $operationName = null ][, array<string|int, mixed>|null $variables = null ]) : array<string|int, mixed>
Parameters
- $query : string
- $operationName : string|null = null
- $variables : array<string|int, mixed>|null = null
Tags
Return values
array<string|int, mixed>getFullUrl()
private
getFullUrl() : string