Esempio n. 1
0
 /**
  * Closes the database connection.
  *
  * @return void
  */
 public static function close()
 {
     if (isset(self::$adapter)) {
         self::$adapter->close();
     }
 }
 /**
  * Closes the database connection.
  *
  * @return void
  */
 public function close()
 {
     if (isset($this->adapter)) {
         $this->adapter->close();
     }
 }