• File: GraphQLClient.php
  • Full Path: /var/www/crm_set/application/vendor/braintree/braintree_php/lib/Braintree/GraphQLClient.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 365 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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);
    }
}