plates icon indicating copy to clipboard operation
plates copied to clipboard

Make default escape method overridable via extensions

Open pine3ree opened this issue 2 years ago • 0 comments

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.

pine3ree avatar Jun 12 '23 23:06 pine3ree