Symfony 2 source code by Hidequel Puga