lithium\data\source\Database::disconnect()
Implements
lithium\data\Source::disconnect()
Disconnects the adapter from the database.
Returns
booleanReturns true
on success, else false
.
Source
public function disconnect() {
if ($this->_isConnected) {
unset($this->connection);
$this->_isConnected = false;
}
return true;
}