/** * @param $socket * @return $this */ public function setSocket($socket) { parent::__construct($socket); return $this; }
public function reset() { $this->history = [null]; parent::__construct(fopen('php://memory', 'w+')); }
/** * @param $socket * @return $this */ public function setSocket($socket) { parent::__construct($socket); return $this; }
public function reset() { $this->history = [null]; parent::__construct(fopen('php://memory', 'w+')); }