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