src/DB.php
public static function setDbType($dbType) {
        $dbTypeCast = (string) $dbType;
        
        if (array_search($dbTypeCast, self::$dbList) === false) {
            throw new DBException('Illegal database type provided to DB Service');
        }
        
        self::$dbType = $dbTypeCast;
    }
public static function setDbType($dbType) {
        $dbTypeCast = (string) $dbType;
        
        if (array_search($dbTypeCast, self::$dbList) === false) {
            throw new DBException('Illegal database type provided to DB Service');
        }
        
        self::$dbType = $dbTypeCast;
    }
public static function setDbType ( $ dbType ) { $ dbTypeCast = ( string ) $ dbType ; if ( array_search ( $ dbTypeCast , self :: $ dbList ) === false ) { throw new DBException ( 'Illegal database type provided to DB Service' ) ; } self :: $ dbType = $ dbTypeCast ; }
Static function to set the db type

@param string $dbType

@return void

@throws DBException
Static function to set the db type