public static function processType($type)
    {
        $type = empty($type) ? self::STRING : $type;
        Validate::isTrue(self::isValid($type), Resources::INVALID_EDM_MSG);

        return $type;
    }
public static function processType($type)
    {
        $type = empty($type) ? self::STRING : $type;
        Validate::isTrue(self::isValid($type), Resources::INVALID_EDM_MSG);

        return $type;
    }
public static function processType ( $ type ) { $ type = empty ( $ type ) ? self :: STRING : $ type ; Validate :: isTrue ( self :: isValid ( $ type ) , Resources :: INVALID_EDM_MSG ) ; return $ type ; }
Converts the type to string if it's empty and validates the type.

@param string $type The Edm type

@internal

@return string
Converts the type to string if it s empty and validates the type .