setStatus(\Grpc\Status::unimplemented()); return null; } /** * Get the method descriptors of the service for server registration * * @return array of \Grpc\MethodDescriptor for the service methods */ public final function getMethodDescriptors(): array { return [ '/helloworld.Greeter/SayHello' => new \Grpc\MethodDescriptor( $this, 'SayHello', '\Helloworld\HelloRequest', \Grpc\MethodDescriptor::UNARY_CALL ), ]; } }