class TransportOptions implements ArrayAccess (View source)

Traits

Trait implemented by any class representing an associative array of PHP options.

Methods

bool
offsetExists($offset)

No description

offsetGet($offset)

No description

void
offsetSet($offset, $value)

No description

void
offsetUnset($offset)

No description

array
toArray()

No description

__construct(array $options)

No description

void
setGrpc(GrpcTransportOptions $grpc)

No description

void
setGrpcFallback(GrpcFallbackTransportOptions $grpcFallback)

No description

void
setRest(RestTransportOptions $rest)

No description

Details

bool offsetExists($offset)

No description

Parameters

$offset

Return Value

bool

offsetGet($offset)

No description

Parameters

$offset

void offsetSet($offset, $value)

No description

Parameters

$offset
$value

Return Value

void

Exceptions

BadMethodCallException

void offsetUnset($offset)

No description

Parameters

$offset

Return Value

void

Exceptions

BadMethodCallException

array toArray()

No description

Return Value

array

__construct(array $options)

No description

Parameters

array $options

{ Config options used to construct the transport.

@type array $grpc @type array $grpcFallback @type array $rest }

void setGrpc(GrpcTransportOptions $grpc)

No description

Parameters

GrpcTransportOptions $grpc

Return Value

void

void setGrpcFallback(GrpcFallbackTransportOptions $grpcFallback)

No description

Parameters

GrpcFallbackTransportOptions $grpcFallback

Return Value

void

void setRest(RestTransportOptions $rest)

No description

Parameters

RestTransportOptions $rest

Return Value

void