Fry the chopped onion and garlic in the butter until soft. Stir all ingredients except the eggs and the cheese.
Add the beaten eggs, pour into a buttered pudding dish and sprinkle the cheese on top. Bake in a preheated oven 400ºF (205ºC) for 20 minutes.