Hi,

I'm trying to make a bundle that add a functionality to the twig
rendering process.
Basically, I need Twig to call a custom function before the
doDisplay() method is called.

To explain a bit the context, when in development mode, I need to wrap
the content of
each template file into a custom <div>, and add a couple of info.

Looking at the Twig_Template and the cached template, I see no trace
of hooks or event, and
doesn't see how I could integrate that kind of feature without
modifying directly the file.

Tips&hints would be welcome.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to