| Current Path : /var/www/clients/client3/web2/web/vendor/braintree/braintree_php/lib/Braintree/ |
| Current File : /var/www/clients/client3/web2/web/vendor/braintree/braintree_php/lib/Braintree/GraphQLClient.php |
<?php
namespace Braintree;
/**
* Braintree GraphQL Client
* process GraphQL requests using curl
*/
class GraphQLClient
{
public function __construct($config)
{
$this->_service = new GraphQL($config);
}
public function query($definition, $variables = Null)
{
return $this->_service->request($definition, $variables);
}
}