original_string: public function setToken($value)
  	{
  		if (\is_array($value) && !array_key_exists('expires_in', $value) && array_key_exists('expires', $value))
  		{
  			$value['expires_in'] = $value['expires'];
  			unset($value['expires']);
  		}
  
  		$this->setOption('accesstoken', $value);
  
  		return $this;
  	}
code: public function setToken($value)
  	{
  		if (\is_array($value) && !array_key_exists('expires_in', $value) && array_key_exists('expires', $value))
  		{
  			$value['expires_in'] = $value['expires'];
  			unset($value['expires']);
  		}
  
  		$this->setOption('accesstoken', $value);
  
  		return $this;
  	}
code_tokens: public function setToken ( $ value ) { if ( \ is_array ( $ value ) && ! array_key_exists ( 'expires_in' , $ value ) && array_key_exists ( 'expires' , $ value ) ) { $ value [ 'expires_in' ] = $ value [ 'expires' ] ; unset ( $ value [ 'expires' ] ) ; } $ this -> setOption ( 'accesstoken' , $ value ) ; return $ this ; }
docstring: Set an option for the Client instance.
  
  @param   array  $value  The access token
  
  @return  Client  This object for method chaining
  
  @since   1.0
docstring_tokens: Set an option for the Client instance .