I prefer slicing my sauteed mushrooms thinly – it makes for easier caramelizing and they cook a lot faster than whole mushrooms. However, the way you cook them is entirely up to you. If you prefer your garlic mushrooms whole, you'll just need to adjust the cooking time to allow the water they produce to fully evaporate before serving.