1 small red onion, thinly sliced
salt and freshly ground black pepper
100g/3陆oz mature cheddar, grated
150ml/5fl oz double cream
1 free-range egg
320g/11陆oz ready-rolled shortcrust pastry sheet