Expand description
Generic-reflection type providers.
These providers make Reflection*<T> carry useful types derived from the
reflected class T. Because ReflectionClass::getMethods() erases which
method each element represents, the tightest sound approximation for a
single ReflectionMethod<T> is “some method of T”: getName() returns
the union of T’s method names, and invoke() returns the union of T’s
method return types.
Structs§
- Reflection
Class HasMethod Assertion Provider - Provider for
ReflectionClass<T>::hasMethod($name). - Reflection
Method GetName Provider - Provider for
ReflectionMethod<T>::getName(). - Reflection
Method Invoke Provider - Provider for
ReflectionMethod<T>::invoke()andinvokeArgs().