/** * Set session ID. * * Only for testing * * @param mixed $id * * @private */ public function setSession($id) { if ($this->client instanceof Sessionable) { $this->client->setSession($id); } }