Whisk the eggs and yolks in a large mixing bowl, preferably with an electric mixer, until light and airy. Add the ricotta carefully and work just until it is well incorporated. Fold in the onion and garlic mix, basil, salt and pepper, then pour over the pastry and bake for 45-50 minutes, or until just set.