First prepare the syrup. Stir the products and boil them for 15 min. Leave to cool completely.
Beat the eggs in the milk, add the sugar, flour and vanilla. Beat with a mixer. Put on the stove and keep stirring gradually until thickened. Take off the stove and add the cream cheese. Stir until melted.
Mix together the products for the cake layers and beat with a mixer. Divide the mixture up into 2 equal parts. Bake them separately in a preheated 356°F (180 °C) for 30 min. each.
Put 1 cake layer in a tray, pour on the syrup, smear generously with cream and place the 2nd layer on top. Syrup it as well and smear it on top and along the sides with the remaining cream. Sprinkle with cocoa. Leave in the fridge for a few hours.