Heat the oven to 180°C (160°C in a fan oven), 375°F, gas 5 and defrost the pastry.
To make the topping mix the cream cheese with the eggs, cream and half of the Parmesan. Add the broccoli, onion and garlic and season with salt, ground black pepper and a pinch of nutmeg.
Separate the pastry into two and roll out each half to the size of the baking dishes. Place the pastry into the greased baking dishes and spread the topping over it. Sprinkle the remaining Parmesan on top and bake for 40 minutes until golden brown.