Doctrine snippets