Esempio n. 1
0
 /**
  * Disconnects from a database.
  * @return void
  */
 public function disconnect()
 {
     if (!$this->connected) {
         return;
     }
     $this->driver->disconnect();
     $this->connected = FALSE;
     $this->fireEvent('onDisconnect', [$this]);
 }
 /**
  * Disconnects from a database.
  * @return void
  */
 public function disconnect()
 {
     $this->driver->disconnect();
     $this->connected = FALSE;
     $this->fireEvent('onDisconnect', [$this]);
 }