You are here

class Client in Mailchimp 8

Test HTTP client.

@package Mailchimp\Tests

Hierarchy

  • class \Mailchimp\Tests\Client extends \GuzzleHttp\Client

Expanded class hierarchy of Client

File

lib/mailchimp-api-php/tests/src/Client.php, line 10

Namespace

Mailchimp\Tests
View source
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();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Client::$method public property
Client::$options public property
Client::$uri public property
Client::request public function @inheritdoc