A short extension for Twig that allows embedding of Doctrine object references in template data