rcrowe\Hippy\Transport\TransportInterface::setToken PHP Method

setToken() public method

Set the token used to authenticate with.
public setToken ( string $token ) : void
$token string API token. See https://{domain}.hipchat.com/admin/api.
return void
    public function setToken($token);

Usage Example

Example #1
0
 /**
  * Set the token used to authenticate with.
  *
  * @param string $token API token. See https://{domain}.hipchat.com/admin/api.
  * @return void
  */
 public function setToken($token)
 {
     $this->transport->setToken($token);
 }