I want to know, how I could detmain, if a Callable is a function or a method (a function in a class). Then, when it's a function, I must use ReflectionFunction. But else I'll use ReflectionMethod. BTW, I'm building a workaround for named arguments.
Thanks for your help ;)
Aucun commentaire:
Enregistrer un commentaire