public getDefaultConnection ( ) : string | ||
return | string | 'default' |
public function getDefaultConnection()
{
// backward compatible
if (!$this->config) {
return $this->getConnection('default');
}
$id = $this->config->getDefaultDataSourceId();
return $this->getConnection($id);
}