ContextInterface
in
Tags
Table of Contents
Methods
- getDeadline() : DateTimeInterface|null
- getMetadata() : array<string|int, mixed>
- getOptions() : array<string|int, mixed>
- getRetryOptions() : RetryOptions
- withDeadline() : $this
- withMetadata() : ContextInterface
- withOptions() : ContextInterface
- withRetryOptions() : ContextInterface
- withTimeout() : $this
Methods
getDeadline()
public
getDeadline() : DateTimeInterface|null
Return values
DateTimeInterface|nullgetMetadata()
public
getMetadata() : array<string|int, mixed>
Return values
array<string|int, mixed>getOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>getRetryOptions()
public
getRetryOptions() : RetryOptions
Return values
RetryOptionswithDeadline()
public
withDeadline(DateTimeInterface $deadline) : $this
Parameters
- $deadline : DateTimeInterface
Return values
$thiswithMetadata()
public
withMetadata(array<string|int, mixed> $metadata) : ContextInterface
Parameters
- $metadata : array<string|int, mixed>
Return values
ContextInterfacewithOptions()
public
withOptions(array<string|int, mixed> $options) : ContextInterface
Parameters
- $options : array<string|int, mixed>
Return values
ContextInterfacewithRetryOptions()
public
withRetryOptions(RetryOptions $options) : ContextInterface
Parameters
- $options : RetryOptions
Return values
ContextInterfacewithTimeout()
public
withTimeout(DateIntervalValue $timeout[, string $format = DateInterval::FORMAT_SECONDS ]) : $this
Parameters
- $timeout : DateIntervalValue
- $format : string = DateInterval::FORMAT_SECONDS