Postmark\PostmarkClientBase::getClient PHP 메소드

getClient() 보호된 메소드

Return the injected GuzzleHttp\Client or create a default instance
protected getClient ( ) : Client
리턴 GuzzleHttp\Client
    protected function getClient()
    {
        if (!$this->client) {
            $this->client = new Client(['base_uri' => self::$BASE_URL, RequestOptions::VERIFY => self::$VERIFY_SSL, RequestOptions::TIMEOUT => $this->timeout]);
        }
        return $this->client;
    }