Make a shortcrust pastry from flour, butter, salt, egg yolk and water (1 tablespoon or more, depending on the type of flour).
Leave the bacon cubes in a hot pan, but do not let them brown. Add the diced shallots and the crushed garlic and allow to translate. At the end stir in the parsley. Add the sliced or diced mushrooms, season with salt, pepper and mix well.
Beat the eggs with the cream and a little salt and pepper in a bowl.
Put the dough in a greased tart pan, pull up one edge. Spread the mushroom mixture on top. Finally pour the egg milk over it and bake for about 30 - 40 minutes at 210 ° C top / bottom heat.