Skip to content

Loading…

Further filter methods (substr, serialize, unserialize) #33

Open
naitsirch opened this Issue · 1 comment

2 participants

@naitsirch

Hi.
It would be nice if you add some further filter methods in Twig_Extensions_Extension_Text.
The PHP functions substr, serialize and unserialize could be added very easily, because I think they are needed very often by the users, especially the substr function.

Thanks

@sethunath

For serialization ,You can use the
|serializer
filter if you have the jms serializer bundle installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.