lithium\analysis\Inspector::invokeMethod()
Calls a method on this object with the given parameters. Provides an OO wrapper for
forward_static_call_array().
Parameters
-
string
$methodName of the method to call.
-
array
$paramsParameter list to use when calling
$method.
Returns
mixedReturns the result of the method call.
Source
public static function invokeMethod($method, $params = []) {
return forward_static_call_array([get_called_class(), $method], $params);
}