
Start by placing the ground beef with the garlic cloves into 6 glasses.
Next, make a hole in the center of each one and add one cube of mozzarella cheese.
Transfer these glasses to a large skillet over medium heat with boiling water and cook for 10 minutes.
In a medium bowl, add the diced tomatoes, the grated mozzarella cheese, the mushrooms cut into smaller pieces and the mayonnaise.
Season with the black pepper, the salt and mix everything very well until combined.
In a large baking tray, add the onions thinly sliced into rings and spread them out to cover the bottom.
Then, cover the onions with the thinly sliced potatoes.
Season with the salt and the black pepper.
Add the mixture we prepared and spread it.
Next, add the pieces of beef and one egg yolk in each one.
Place in a preheated oven at 180° C (350° F) and bake for 30 minutes.
Serve.