35 parent::__construct( [
38 'host' =>
'(disabled)',
42 'trxProfiler' =>
$params[
'trxProfiler'] ??
null,
43 'srvCache' =>
$params[
'srvCache'] ??
null,
44 'wanCache' =>
$params[
'wanCache'] ??
null,
45 'localDomain' =>
$params[
'localDomain'] ??
'(disabled)',
46 'readOnlyReason' =>
$params[
'readOnlyReason'] ??
false,
47 'clusterName' =>
$params[
'clusterName'] ??
null,
59 throw new RuntimeException(
'Database backend disabled' );
70 public function getConnection( $i, $groups = [], $domain =
false, $flags = 0 ) {
71 throw new RuntimeException(
'Database backend disabled' );
83 throw new RuntimeException(
'Database backend disabled' );
95 throw new RuntimeException(
'Database backend disabled' );
107 throw new RuntimeException(
'Database backend disabled' );
array $params
The job parameters.
Class to handle database/schema/prefix specifications for IDatabase.