On 5 August 2014 18:01, Ralph Schindler <ra...@ralphschindler.com> wrote:
> At the risk of stating the obvious, can’t you just use $f->bar->__invoke()? >> > > Actually, it was not immediately obvious that __invoke() was a method from > the docs as it is a side-note and not in the class signature breakout. > Oops! ;) > > http://php.net/manual/en/class.closure.php > Interestingly, reflection doesn't even expose it: http://3v4l.org/8Jutn Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/