Crappy Symfony2 code for friends