How to make my method execute a Closure
Hello,
I'm writing a custom function inside my action which should accept a Closure.
Right now this gives the error,
I'm writing a custom function inside my action which should accept a Closure.
Right now this gives the error,
Object of class Closure could not be converted to string. Looking at other methods I couldn't find a difference, how do you do this?