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