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

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

Create a new PostmarkClient.
public __construct ( string $serverToken, integer $timeout = 30 )
$serverToken string The token associated with "Server" you'd like to use to send/receive email from.
$timeout integer The timeout, in seconds to wait for an API call to complete before throwing an Exception.
    function __construct($serverToken, $timeout = 30)
    {
        parent::__construct($serverToken, 'X-Postmark-Server-Token', $timeout);
    }