public static function create($name, callable $callback, ...$arguments) {

        try {

            return  new RpcMethod($name, $callback, ...$arguments);

        } catch (Exception $e) {

            throw $e;

        }

    }
public static function create($name, callable $callback, ...$arguments) {

        try {

            return  new RpcMethod($name, $callback, ...$arguments);

        } catch (Exception $e) {

            throw $e;

        }

    }
public static function create ( $ name , callable $ callback , ... $ arguments ) { try { return new RpcMethod ( $ name , $ callback , ... $ arguments ) ; } catch ( Exception $ e ) { throw $ e ; } }
Static class constructor - create an RpcMethod object

@param string $name
@param string $callback

@return RpcMethod
@throws Exception
Static class constructor - create an RpcMethod object