Subclass the renderer, usually (initializing this at runtime would be quite the 
mess I guess).

David


On 08.10.2012, at 16:22, [email protected] wrote:

> Hi,
> 
> I am using Twig for a project and had to add a filter. Since 
> AgaviTwigRenderer::getEngine() is protected, there was no way to access 
> Twig_Environment. I looked at the code for the other renderers and all of 
> them are similar.
> 
> What is the recommended way to add filters to a renderer?
> 
> Peace,
> Shoan.
> 
> 
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to