1
For the pastry, sift the flour with a pinch of salt in a large bowl. Blend in the butter until it reaches a soft breadcrumb texture. Add just enough cold water to bring the crumb mixture together into a firm dough, then let it rest in the fridge for 30 minutes.
2
Roll the pastry on a lightly floured surface and use it to line a well-buttered 22cm/8½in flan dish. Avoid trimming the edges of the pastry at this point. Chill once more.
3
Preheat your oven to 190°C.
4
Take the pastry case out of the refrigerator, set it on a baking tray and bake it blind for 25 minutes.
5
Remove the pastry base and reduce the temperature of your oven to 160°C.
6
Scatter the cheese over the pastry base and, if using, arrange the sliced tomatoes. Crisp up the bacon pieces in a pan and sprinkle them over the top.
7
Mix the eggs with the milk and cream in a bowl, season well, and pour the mixture over the bacon and cheese. Sprinkle thyme over the top and trim the pastry edges.
8
Bake for 30-40 minutes or until fully set. Take it out of the oven and let it cool and set further.
9
Trim the pastry edges for a neat finish and then serve in wedge portions.