Closed JohnstonCode closed 4 years ago
Thanks, and my apologies for not noticing it before, but I'm closing this PR. I see what you want to achieve but it's not the right way to do so - you should just implement your own filter based on AbstractFilter
. As PHP now has anonymous classes this is just as convenient as adding a callable
option here which would just complicate our core code.
This PR adds the ability make
filter
callable.