public function MailchimpLists::getInterestCategories in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpLists.php \Mailchimp\MailchimpLists::getInterestCategories()
- 8 lib/mailchimp-api-php/tests/src/MailchimpLists.php \Mailchimp\Tests\MailchimpLists::getInterestCategories()
@inheritdoc
Overrides MailchimpLists::getInterestCategories
File
- lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php, line 71
Class
- MailchimpLists
- Mailchimp Lists library test cases.
Namespace
Mailchimp\TestsCode
public function getInterestCategories($list_id, $parameters = []) {
parent::getInterestCategories($list_id, $parameters);
$response = (object) [
'list_id' => $list_id,
'categories' => [
(object) [
'list_id' => $list_id,
'id' => 'a1e9f4b7f6',
'title' => 'Test Interest Category',
],
],
'total_items' => 1,
];
return $response;
}