21 parent::__construct( [
24 'host' =>
'(disabled)',
28 'trxProfiler' => $params[
'trxProfiler'] ??
null,
29 'srvCache' => $params[
'srvCache'] ??
null,
30 'wanCache' => $params[
'wanCache'] ??
null,
31 'localDomain' => $params[
'localDomain'] ??
'(disabled)',
32 'readOnlyReason' => $params[
'readOnlyReason'] ??
false,
33 'clusterName' => $params[
'clusterName'] ??
null,
45 throw new RuntimeException(
'Database backend disabled' );
56 public function getConnection( $i, $groups = [],
string|
false $domain =
false, $flags = 0 ): never {
57 throw new RuntimeException(
'Database backend disabled' );
69 throw new RuntimeException(
'Database backend disabled' );
81 throw new RuntimeException(
'Database backend disabled' );
Class to handle database/schema/prefix specifications for IDatabase.