Commit 594e326b authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #526 from gohiei/master

Add close() method in MasterSlaveConnection.php
parents 5b8f4f03 6a8ce0e8
......@@ -281,6 +281,17 @@ class MasterSlaveConnection extends Connection
return parent::delete($tableName, $identifier, $types);
}
/**
* {@inheritDoc}
*/
public function close()
{
unset($this->connections['master']);
unset($this->connections['slave']);
parent::close();
}
/**
* {@inheritDoc}
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment