24use InvalidArgumentException;
64 throw new InvalidArgumentException(
'$dbName must be a string, or false.' );
81 return $this->loadBalancer->getConnection( $i,
$groups, $this->domain, $flags );
92 return $this->loadBalancer->getConnectionRef( $i,
$groups, $this->domain );
103 return $this->loadBalancer->getLazyConnectionRef( $i,
$groups, $this->domain );
144 $this->loadBalancer->reuseConnection( $db );