public function close() { if (self::$isConnect) { $this->link->close(); self::$isConnect = false; $this->link = null; } }