예제 #1
0
 /**
  * @runInSeparateProcess
  */
 public function testSaveToken()
 {
     $this->assertNull($this->cookie->saveToken('token value'));
 }
예제 #2
0
파일: Token.php 프로젝트: keika299/chap
 /**
  * Set token.
  *
  * @param string $token
  * @return null
  */
 public function setToken($token)
 {
     $cookie = new Cookies($this->client);
     $cookie->saveToken($token);
     $this->client->setToken($token);
 }