public function MailchimpAutomations::getWorkflowEmails in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpAutomations.php \Mailchimp\MailchimpAutomations::getWorkflowEmails()
- 8 lib/mailchimp-api-php/tests/src/MailchimpAutomations.php \Mailchimp\Tests\MailchimpAutomations::getWorkflowEmails()
@inheritdoc
Overrides MailchimpAutomations::getWorkflowEmails
File
- lib/
mailchimp-api-php/ tests/ src/ MailchimpAutomations.php, line 68
Class
Namespace
Mailchimp\TestsCode
public function getWorkflowEmails($workflow_id) {
parent::getWorkflowEmails($workflow_id);
$response = (object) [
'emails' => [
(object) [
'id' => 'a87de7d1e5',
'workflow_id' => '57afe96172',
'position' => 1,
'status' => 'sending',
'emails_sent' => 1,
'send_time' => '2016-07-20T15:48:04+00:00',
'content_type' => 'template',
],
],
'total_items' => 1,
];
return $response;
}