Wash the cabbage and mushrooms thoroughly and cut them into bite-sized pieces.
Slice the garlic thinly.
Heat olive oil in a pan and sauté the garlic.
Add the cabbage and mushrooms, season with salt and pepper, and stir-fry.
Boil the spaghetti noodles, add them to the pan, and mix with the other ingredients.
Add a little pasta water or milk to keep the pasta moist while stir-frying.
Serve on a plate and finish with a sprinkle of Parmesan cheese.