/** * Close the Database connection */ public static function close() { try { if (static::$adapter) { static::$adapter->close(); } } catch (\Exception $e) { } }
/** * Close the connection to database */ public function close() { return $this->internalAdapter->close(); }