You are here

public function MailchimpAutomations::getWorkflow in Mailchimp 8

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

@inheritdoc

Overrides MailchimpAutomations::getWorkflow

File

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

Class

MailchimpAutomations

Namespace

Mailchimp\Tests

Code

public function getWorkflow($workflow_id) {
  parent::getWorkflow($workflow_id);
  $response = (object) [
    'id' => 'eb4c82c9d2',
    'create_time' => '2015-07-23T15:15:00+00:00',
    'start_time' => '',
    'status' => 'save',
    'emails_sent' => 0,
  ];
  return $response;
}