Method |
Description |
|
callMethod ( string | object $class, string $methodName, array $args = [] ) : mixed |
Call a protected/private static/non-static method of given class. |
|
findProperty ( object | string $class, string $name, boolean $access = true ) : ReflectionProperty |
Finds a property for the given class. |
|
getMethod ( string $className, string $methodName ) : ReflectionMethod |
A helper method for testing protected/private static/non-static methods. |
|
getProperty ( object | string $class, string $name ) : mixed |
Returns the current value of a property. |
|
setProperty ( object | string $class, string $name, mixed $value ) : void |
Sets the new value of a property. |
|