Postmark\PostmarkClient::getBounceTags PHP Метод

getBounceTags() публичный Метод

This produces an array of strings. This one of the only client API calls that does not produce a DynamicResponseModel.
public getBounceTags ( ) : array
Результат array
    function getBounceTags()
    {
        return $this->processRestRequest('GET', '/bounces/tags');
    }

Usage Example

 function testClientCanGetBounceTags()
 {
     $tk = parent::$testKeys;
     $client = new PostmarkClient($tk->READ_INBOUND_TEST_SERVER_TOKEN, $tk->TEST_TIMEOUT);
     $tags = $client->getBounceTags();
     $this->assertNotEmpty($tags);
     $this->assertGreaterThan(0, count($tags));
 }