If you need to find every information about any class, reflection is the right tool to do it. You can easily find out which methods does any class have, what parameters do those methods accept, etc.
Nette\Object simplifies access to class' self-reflection with method getReflection(), returning a Nette\Reflection\ClassType object.
To use this library, you just have to add, in your project:
require_once '/usr/share/php/Nette/Reflection/autoload.php';
Please login to add feedback.
This update has been submitted for testing by remi.
This update has been pushed to testing.
This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by remi.
This update has been pushed to stable.