You are here

public function MailchimpLists::getList in Mailchimp 8

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

@inheritdoc

Overrides MailchimpLists::getList

File

lib/mailchimp-api-php/tests/src/MailchimpLists.php, line 57

Class

MailchimpLists
Mailchimp Lists library test cases.

Namespace

Mailchimp\Tests

Code

public function getList($list_id, $parameters = []) {
  parent::getList($list_id, $parameters);
  $response = (object) [
    'id' => $list_id,
    'name' => 'Test List One',
  ];
  return $response;
}