public function getDbManager(): ?DatabaseManager
    {
        if (!$this->hasDbManager()) {
            $this->setDbManager($this->getDefaultDbManager());
        }
        return $this->dbManager;
    }