The PHP5 Reflection API
| From: | s0niX | Date: | Wed, 09 Jul 2003 10:38:08 +0000 |
| Subject: | The PHP5 Reflection API | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-3325@lists.php.net to get a copy of this message | ||
Hi,
Andrei Zmievskis draft for the Reflection API is really good, but i
had some ideas where this could be improved.
I have made the following changes:
- added method Klass::getSubclasses()
- added method Klass::isSubclassOf($klass)
- added method Klass::getSubclasses()
- added function getFunction($name)
- added method Function::getArguments()
- added method Function::returnsReference()
- changed comment on Method::invoke($obj, $params)
- added class Argument
- added class Property::getLine()
- added comment for Property::getValue($obj) and Property::setValue($obj, $value)
- added class Property::getDefaultValue()
The modified Version is available under
http://home.t-online.de/home/s0nix/reflection2.txt
regards
Daniel Penning