public function close() { if ($this->socket === false) { $this->error = 'not connected'; return false; } fclose($this->socket); $this->socket = false; return true; }
/** * {@inheritdoc} */ public function close() { return $this->proxy->close(); }