public setupConnections ( ) : void | ||
return | void |
public function setupConnections()
{
if ($this->config->isDatabaseSplit()) {
$this->connect('read');
$this->connect('write');
} else {
$this->connect('readwrite');
}
}