getName(); $response = new \Helloworld\HelloReply(); $response->setMessage("Hello " . $name); return $response; } } $server = new \Grpc\RpcServer(); $server->addHttp2Port('0.0.0.0:50051'); $server->handle(new RouteGuideService(null)); $server->handle(new Greeter()); $server->run();