Load twig templates from a doctrine connection.