Punch the dough down and transfer to a floured surface.
Divide the dough into 2 equal pieces.
Using a rolling pin, roll one piece of dough into a 12-inch (30cm) square.
Spread half of the pesto over the rolled dough.
Spread half of the cheese over the pesto.
Sprinkle salt and pepper.
Cut the dough into 6 equal strips using a bench scraper or a knife.
Stack the strips one on top of the other. Invert the last one and place it on top of the others, with the pesto side facing down.
Cut into 6 equal pieces.
Place each piece into prepared muffin cups.
Repeat with the remaining dough.
Gently separate the layers to create a fantail. Cover the pan with a kitchen towel and let them rise in the pan for another 15-20 minutes.