36 parent::__construct( [
39 'host' =>
'(disabled)',
43 'trxProfiler' => $params[
'trxProfiler'] ??
null,
44 'srvCache' => $params[
'srvCache'] ??
null,
45 'wanCache' => $params[
'wanCache'] ??
null,
46 'localDomain' => $params[
'localDomain'] ??
'(disabled)',
47 'readOnlyReason' => $params[
'readOnlyReason'] ??
false,
48 'clusterName' => $params[
'clusterName'] ??
null,
60 throw new RuntimeException(
'Database backend disabled' );
71 public function getConnection( $i, $groups = [], $domain =
false, $flags = 0 ) {
72 throw new RuntimeException(
'Database backend disabled' );
84 throw new RuntimeException(
'Database backend disabled' );
96 throw new RuntimeException(
'Database backend disabled' );
108 throw new RuntimeException(
'Database backend disabled' );
Class to handle database/schema/prefix specifications for IDatabase.