summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/testdata/use_empty/Test/ServiceInterface.php
blob: fe6d345aea6f007b3fbc02b6100b953c3cd9701f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
# Generated by the protocol buffer compiler (spiral/php-grpc). DO NOT EDIT!
# source: use_empty/service.proto

namespace Test;

use Spiral\GRPC;
use Google\Protobuf;

interface ServiceInterface extends GRPC\ServiceInterface
{
    // GRPC specific service name.
    public const NAME = "test.Service";

    /**
    * @param GRPC\ContextInterface $ctx
    * @param Protobuf\GPBEmpty $in
    * @return Protobuf\GPBEmpty
    *
    * @throws GRPC\Exception\InvokeException
    */
    public function Test(GRPC\ContextInterface $ctx, Protobuf\GPBEmpty $in): Protobuf\GPBEmpty;
}