Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function __construct( array $params ) { |
||
22 | // no parent constructor call, we only use the LoadBalancer class so we don’t have to |
||
23 | // override every ILoadBalancer method – they’ll just crash if someone tries to use them |
||
24 | $this->dbr = $params['dbr']; |
||
25 | $this->dbw = $params['dbw'] ?? $this->dbr; |
||
26 | } |
||
27 | |||
56 |