lithium\test\Mocker::invokeMethod PHP Метод

invokeMethod() публичный статический Метод

Calls a method on this object with the given parameters. Provides an OO wrapper for forward_static_call_array().
public static invokeMethod ( string $method, array $params = [] ) : mixed
$method string Name of the method to call.
$params array Parameter list to use when calling `$method`.
Результат mixed Returns the result of the method call.
    public static function invokeMethod($method, $params = array())
    {
        return forward_static_call_array(array(get_called_class(), $method), $params);
    }