plates
plates copied to clipboard
Make default escape method overridable via extensions
A more elegant solution (now implemented in https://github.com/thephpleague/plates/pull/314) would be to define the escape and e helper functions in an extension registered by default.
In this way it would be easier for developers to create version of escape methods with different signatures. I would keep the batch method in the Template class anyway.