Skip to content

Commit

Permalink
feat: added setHost for client (#161)
Browse files Browse the repository at this point in the history
* feat: added setHost for client

* fix: Update Client.php
  • Loading branch information
tiwarishubham635 authored Nov 21, 2023
1 parent a93d5eb commit acaef9a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion lib/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class Client
* @var bool
*/
protected $verifySSLCerts;

/**
* @var bool
*/
Expand Down Expand Up @@ -253,6 +253,20 @@ public function getHost()
return $this->host;
}

/**
* Set host
*
* @param string $host
*
* @return Client
*/
public function setHost(string $host)
{
$this->host = $host;

return $this;
}

/**
* @return array
*/
Expand Down

0 comments on commit acaef9a

Please sign in to comment.