Code snippets to present some doctrine particularities