Commit 6a8ce0e8 authored by Chuck's avatar Chuck

Add close() method in MasterSlaveConnection.php

parent 3faa3a65
......@@ -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