Add the onion and the garlic, mashed, to the cream; pour it in the bottom of a baking dish, break on top the eggs, dust with salt and pepper, stand the baking dish in a pan of water and cook in the oven until the eggs are "set." Serve in the dish in which they are cooked.