A series of snippets that are useful for Symfony 2 users