Le 04/11/2011 02:20, Elliot Anderson a écrit :
Your best bet would be to look at the TwigBundle (https://github.com/
symfony/symfony/tree/master/src/Symfony/Bundle/TwigBundle)
All the Twig library integration is handled there. You're going to be
particularly interested in the dependency injection part and the
TwigEngine class and the EngineInterface it implements
Also note that the engine service must be named
/templating.engine.<name>/ so that you can activate it in your config.
All other services used in your bundle should of course follow the
naming best practice.
--
Christophe | Stof
--
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