RE: [PHP-DEV] [RFC][DISCUSSION] ReflectionParameter::getClassName()
> De : Matteo Beccati [mailto:[email protected]]
>
> The new methods are:
>
> * ReflectionFunctionAbstract::hasReturnTypeAnnotation()
> * ReflectionFunctionAbstract::getReturnTypeAnnotation()
> * ReflectionTypeAnnotation::isInstance()
I agree Reflection must support hinting but annotations, int the PHP world, are a different concept
and don't have anything to do here. OK for ReflectionTypeHint, but not for
ReflectionTypeAnnotation.
Regards
François
Thread (10 messages)