Code used in my conference at Symfony Live Paris 2013