Commit da96f42b authored by Chuck's avatar Chuck Committed by David

Add close() method in MasterSlaveConnection.php

parent 11fd2c9a
......@@ -280,6 +280,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