public function MailchimpLists::getLists in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpLists.php \Mailchimp\MailchimpLists::getLists()
- 8 lib/mailchimp-api-php/tests/src/MailchimpLists.php \Mailchimp\Tests\MailchimpLists::getLists()
@inheritdoc
Overrides MailchimpLists::getLists
File
- lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php, line 30
Class
- MailchimpLists
- Mailchimp Lists library test cases.
Namespace
Mailchimp\TestsCode
public function getLists($parameters = []) {
parent::getLists($parameters);
$response = (object) [
'lists' => [
(object) [
'id' => '57afe96172',
'name' => 'Test List One',
],
(object) [
'id' => 'f4b7b26b2e',
'name' => 'Test List Two',
],
(object) [
'id' => '587693d673',
'name' => 'Test List Three',
],
],
'total_items' => 3,
];
return $response;
}