commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
GraphQLRequest.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface GraphQLRequest extends JsonObject
15 {
16  public const FIELD_QUERY = 'query';
17  public const FIELD_OPERATION_NAME = 'operationName';
18  public const FIELD_VARIABLES = 'variables';
19 
24  public function getQuery();
25 
30  public function getOperationName();
31 
36  public function getVariables();
37 
41  public function setQuery(?string $query): void;
42 
46  public function setOperationName(?string $operationName): void;
47 
51  public function setVariables(?GraphQLVariablesMap $variables): void;
52 }
setVariables(?GraphQLVariablesMap $variables)