$definition]; if ($variables) { $graphQLRequest["variables"] = $variables; } $response = $this->_doUrlRequest('POST', $this->_config->graphQLBaseUrl(), json_encode($graphQLRequest), null, $this->graphQLHeaders()); $result = json_decode($response["body"], true); Util::throwGraphQLResponseException($result); return $result; } } class_alias('Braintree\GraphQL', 'Braintree_GraphQL');