Preheat the Oven: Heat oven to 375°F (190°C).
Sauté the Vegetables: In a medium skillet over medium-high heat, heat the olive oil. Add the chopped onions and garlic, cooking until the onions are translucent, about 5 minutes.
Add the Ham: Stir in the cubed ham and cook for 1 minute.
Wilt the Spinach: Add the spinach and cook until wilted, about 3 minutes. Remove from heat.
Mix the Eggs: In a medium bowl, whisk the eggs, cream, salt, and pepper. Stir in the spinach and ham mixture.
Add Cheese & Bake: Stir in the cheese, then pour the mixture into a lightly greased 5x5-inch baking dish. Bake until puffed and golden, about 25 minutes.
