/** * Gets socket from current connection * * @deprecated */ public function getSocket() { $this->connect(); return parent::getSocket(); }