Skip to content

Commit

Permalink
feat: added setHost for client
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Nov 17, 2023
1 parent a93d5eb commit 8ea1cd8
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 8ea1cd8

Please sign in to comment.