3 namespace MediaWiki\Installer
;
5 use MediaWiki\Status\Status
;
6 use Wikimedia\Rdbms\IMaintainableDatabase
;
11 class ConnectionStatus
extends Status
{
12 public function __construct( ?IMaintainableDatabase
$db = null ) {
16 public function setDB( IMaintainableDatabase
$db ) {
20 public function getDB(): IMaintainableDatabase
{