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