Start with the pastry. Make sure your butter is cold, and then cut it into small cubes. Put into a food processor along with both of the flours and a pinch of salt. Blitz until the mixture resembles breadcrumbs then crack in the egg and pulse again until the pastry is just coming together, then bring together with your hands. Wrap in cling film and chill in the fridge for .