Postmark\PostmarkClient::getBounceTags PHP Method

getBounceTags() public method

This produces an array of strings. This one of the only client API calls that does not produce a DynamicResponseModel.
public getBounceTags ( ) : array
return 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));
 }