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