For the pastry:
• 9oz plain flour
• A good pinch of salt
• 4oz cold salted butter, cut into cubes
• 1 large egg yolk
For the filling:
• 4oz salted butter, softened
• 4oz golden caster sugar
• 1 ½ tsp almond extract
• 3 medium eggs, beaten
• 4oz ground almonds
• 2 tbsp self-raising flour
• 2 large red apples, thinly sliced through the middle
• A little melted butter for brushing the top
• 2 tbsp apricot jam