You are here

Client.php in Mailchimp 8

Namespace

Mailchimp\Tests

File

lib/mailchimp-api-php/tests/src/Client.php
View source
<?php

namespace Mailchimp\Tests;


/**
 * Test HTTP client.
 *
 * @package Mailchimp\Tests
 */
class Client extends \GuzzleHttp\Client {
  public $method;
  public $uri;
  public $options;

  /**
   * @inheritdoc
   */
  public function request($method, $uri = NULL, array $options = []) {
    $this->method = $method;
    $this->uri = $uri;
    $this->options = $options;
    return new Response();
  }

}

Classes

Namesort descending Description
Client Test HTTP client.