Skip to content

Commit acaef9a

Browse files
feat: added setHost for client (#161)
* feat: added setHost for client * fix: Update Client.php
1 parent a93d5eb commit acaef9a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

lib/Client.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class Client
201201
* @var bool
202202
*/
203203
protected $verifySSLCerts;
204-
204+
205205
/**
206206
* @var bool
207207
*/
@@ -253,6 +253,20 @@ public function getHost()
253253
return $this->host;
254254
}
255255

256+
/**
257+
* Set host
258+
*
259+
* @param string $host
260+
*
261+
* @return Client
262+
*/
263+
public function setHost(string $host)
264+
{
265+
$this->host = $host;
266+
267+
return $this;
268+
}
269+
256270
/**
257271
* @return array
258272
*/

0 commit comments

Comments
 (0)