public function MailchimpAutomations::getWorkflowEmailSubscriber in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpAutomations.php \Mailchimp\MailchimpAutomations::getWorkflowEmailSubscriber()
- 8 lib/mailchimp-api-php/tests/src/MailchimpAutomations.php \Mailchimp\Tests\MailchimpAutomations::getWorkflowEmailSubscriber()
@inheritdoc
Overrides MailchimpAutomations::getWorkflowEmailSubscriber
File
- lib/
mailchimp-api-php/ tests/ src/ MailchimpAutomations.php, line 127
Class
Namespace
Mailchimp\TestsCode
public function getWorkflowEmailSubscriber($workflow_id, $workflow_email_id, $email) {
parent::getWorkflowEmailSubscriber($workflow_id, $workflow_email_id, $email);
$response = (object) [
'id' => md5(strtolower($email)),
'workflow_id' => '4e3da78a41',
'email_id' => 'a87de7d1e5',
'list_id' => '57afe96172',
'email_address' => $email,
'next_send' => '2017-04-28T15:48:04+00:00',
];
return $response;
}