Boil spaghetti until cooked in salted water.
Cut the mushrooms into plates, chop the onion and fry until golden in vegetable oil.
Add grated cheese and cream to the pan to the mushrooms, cook until the cheese is completely dissolved. Then add salt, pepper and garlic through a press.
Remove the sauce from the heat and mix with spaghetti. Garnish with greens.