You are here

public function Mailchimp::__construct in Mailchimp 8

Same name in this branch
  1. 8 lib/mailchimp-api-php/src/Mailchimp.php \Mailchimp\Mailchimp::__construct()
  2. 8 lib/mailchimp-api-php/tests/src/Mailchimp.php \Mailchimp\Tests\Mailchimp::__construct()

@inheritdoc

Overrides Mailchimp::__construct

File

lib/mailchimp-api-php/tests/src/Mailchimp.php, line 15

Class

Mailchimp
Test Mailchimp library.

Namespace

Mailchimp\Tests

Code

public function __construct($api_key = 'apikey', $api_user = 'apikey', $http_options = []) {
  $this->client = new MailchimpTestHttpClient();
}