[Flow] Re: FlowQuery in PHP instead of in Eel?
Jacob Floyd
cognifloyd at gmail.com
Sat Jul 13 13:43:29 CEST 2013
After staring at FlowQuery for who knows how long, I finally understand how it works. I was not familiar with the magic method __call, and kept glancing past it. Oops. __call is what makes FlowQuery work by allowing me to call arbitrary methods even when they don't technically exist within the FlowQuery class.
Now I understand how FlowQuery works, and feel confident that I can use it the way I want from within PHP without creating a bunch of Eel strings and shoving them through an Eel parser/evaluator.
I must admit, __call() is awesome.
Thanks,
Jacob Floyd
More information about the Flow
mailing list