Wash and clean the beans and cut into pieces approx. 4 cm long. Rinse the savory and shake dry. Save 3 twigs for the pasta, pluck the leaves off and chop the rest. Bring the spaghetti water with 0.5 teaspoons of salt and the 3 sprigs of savory to the boil. Put in the beans and spaghetti and simmer for 7-8 minutes.
In the meantime, peel and chop the garlic and onions, then sauté. Pour the cream and stock, simmer for about 5 minutes. Now gradually stir in the parmesan and heat briefly. Season to taste with salt and pepper.
Drain the spaghetti, stir into the sauce and mix in the remaining savory.