In a large skillet, heat olive oil over medium high heat. Add the shallots and garlic, and cook until they are tender and slightly brown, about 5 minutes.
Add the fresh or frozen peas to the skillet (you do not need to thaw the frozen peas beforehand), and cook for another 5-7 minutes or until the peas are tender.
Remove from heat and stir in the freshly grated parmesan. Season with salt and pepper to taste. Enjoy!
Notes
FYI: sweet peas are also called garden or English peas.
Aged parmesan has a strong taste, so you will only need a small amount to get a big flavor. This recipe is considered vegetarian, but only if you use parmesan that does not contain animal rennet (usually marked as vegetarian parmesan). If you are trying to make this strictly vegetarian or vegan, omit the parmesan.
If you are making this for a holiday or large gathering, the recipe can easily be doubled or tripled. It tastes good warm, cold, or at room temperature!