public function MailchimpLists::getSegment in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpLists.php \Mailchimp\MailchimpLists::getSegment()
- 8 lib/mailchimp-api-php/tests/src/MailchimpLists.php \Mailchimp\Tests\MailchimpLists::getSegment()
@inheritdoc
Overrides MailchimpLists::getSegment
File
- lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php, line 241
Class
- MailchimpLists
- Mailchimp Lists library test cases.
Namespace
Mailchimp\TestsCode
public function getSegment($list_id, $segment_id, $parameters = []) {
parent::getSegment($list_id, $segment_id, $parameters);
$response = (object) [
'id' => 49377,
'name' => 'Test Segment One',
'type' => 'static',
'list_id' => $list_id,
];
return $response;
}