Preheat oven to 375° Melt the butter in a 3 quart stovetop covered casserole. Add the garlic and onion and sauté over moderately low heat until onion is translucent, about five minutes. Add the mushrooms and sauté over moderate heat until mushrooms or golden, about five minutes. And the barley, basil and thyme to the mushroom mixture and toss lightly. Then pour in the stock and season to taste with salt and pepper. Slowly bring the casserole to a boil, then remove it from the heat. Cover the casserole and bake in the oven until the barley is tender, about 45 to 50 minutes. Reduce time if using a convection oven. Before serving, add the chopped parsley and toss gently serve piping hot.