note 102389 rejected from class.reflectionparameter by danbrown
| From: | danbrown@php.net | Date: | Fri, 11 Feb 2011 14:52:09 +0000 |
| Subject: | note 102389 rejected from class.reflectionparameter by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176903@lists.php.net to get a copy of this message | ||
Note Submitter: rishad at kaluma dot com
----
How can I get the type hint of a parameter?
For example:
function func(MyClass $m)
{
}
Then type hint of parameter $m should be MyClass.