Hi Johannes,

Am Freitag, den 04.07.2008, 11:18 +0200 schrieb Johannes Schlüter:
> Now such a check isn't possible, all reflection information on the
> callback I can get is that it is an object of type Closure having a
> method __invoke() with zero required parameters. There's no further
> information on the function, so probably we need a ReflectionClosure
> class or something

Couldn't ReflectionFunction play that role. Classes and instances with a
defined "__invoke" method can be reflected with ReflectionFunction?

cu, Lars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to