RE: [PHP-DEV] [RFC][DISCUSSION] ReflectionParameter::getClassName()

From: Date: Sun, 15 Feb 2015 15:24:05 +0000
Subject: RE: [PHP-DEV] [RFC][DISCUSSION] ReflectionParameter::getClassName()
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
> 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)

« previous php.internals (#82727) next »