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

namespace Test\CustomNamespace;

use Spiral\GRPC;

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

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