1.
Preheat oven to 375F and lightly grease a 2 quart baking dish with cooking spray and set aside.
2.
Heat olive oil in a large nonstick skillet over medium heat and add onions and leeks, and cook for 2 minutes. Stir in garlic and continue to cook until fragrant, about 30 seconds.
3.
Next, stir in artichoke hearts and season with thyme; cook for 4 minutes or until heated through, stirring occasionally. Remove from heat and let cool for 10 minutes.
4.
In a large mixing bowl, combine milk, salt, pepper, and eggs; whisk until thoroughly combined. Add bread and stir gently to combine. Stir in artichoke mixture, and let stand for 20 minutes.
5.
Spoon half of bread mixture into previously prepared baking dish. Sprinkle with half of feta cheese, and top with remaining bread mixture. Sprinkle remaining feta cheese over top.
6.
Bake for 45 to 50 minutes or until browned and bubbly.
7.
Remove from oven and serve.