src/Module.php
public function getDbInfo($db)
    {
        $info = ArrayHelper::getValue($this->dbInfo, $db, null);
        if (!$info) {
            throw new UserException('Database with name ' . $db . ' not configured for dump.');
        }

        return $info;
    }
public function getDbInfo($db)
    {
        $info = ArrayHelper::getValue($this->dbInfo, $db, null);
        if (!$info) {
            throw new UserException('Database with name ' . $db . ' not configured for dump.');
        }

        return $info;
    }
public function getDbInfo ( $ db ) { $ info = ArrayHelper :: getValue ( $ this -> dbInfo , $ db , null ) ; if ( ! $ info ) { throw new UserException ( 'Database with name ' . $ db . ' not configured for dump.' ) ; } return $ info ; }
Get info for selected database.

@param $db
@return array
@throws UserException
Get info for selected database .