Code snippets for Symfony2