Re: Reflection question
| From: | Pulni4kiya | Date: | Tue, 14 Apr 2009 22:44:30 +0000 |
| Subject: | Re: Reflection question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291504@lists.php.net to get a copy of this message | ||
The problem is to get the parameters and mostly their type-hinting.
At the end I decided to just cast the ReflectionParameter classes to strings and get the type-hinting from there, even though it shouldn't normally be done this way, but I don't think there's a better way now.