You are here

public function MailchimpAutomations::getWorkflowEmail in Mailchimp 8

Same name in this branch
  1. 8 lib/mailchimp-api-php/src/MailchimpAutomations.php \Mailchimp\MailchimpAutomations::getWorkflowEmail()
  2. 8 lib/mailchimp-api-php/tests/src/MailchimpAutomations.php \Mailchimp\Tests\MailchimpAutomations::getWorkflowEmail()

@inheritdoc

Overrides MailchimpAutomations::getWorkflowEmail

File

lib/mailchimp-api-php/tests/src/MailchimpAutomations.php, line 92

Class

MailchimpAutomations

Namespace

Mailchimp\Tests

Code

public function getWorkflowEmail($workflow_id, $workflow_email_id) {
  parent::getWorkflowEmail($workflow_id, $workflow_email_id);
  $response = (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',
  ];
  return $response;
}