final class ServiceMethod

internal  
 

Methods

static ServiceMethod
parse(string $value)

Parse a fully qualified gRPC method.

static ServiceMethod
from(string $service, string $method)

Create a gRPC method from its service and method names.

static void
validateServiceName(string $service)

Validate a fully qualified gRPC service name.

string
path()

Return the canonical gRPC method path.

Details

at line 23
static ServiceMethod parse(string $value)

Parse a fully qualified gRPC method.

Parameters

string $value

Return Value

ServiceMethod

at line 40
static ServiceMethod from(string $service, string $method)

Create a gRPC method from its service and method names.

Parameters

string $service
string $method

Return Value

ServiceMethod

at line 54
static void validateServiceName(string $service)

Validate a fully qualified gRPC service name.

Parameters

string $service

Return Value

void

at line 64
string path()

Return the canonical gRPC method path.

Return Value

string