Documentation

ContextInterface

Tags
psalm-import-type

DateIntervalValue from DateInterval

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|null

getMetadata()

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>

withDeadline()

public withDeadline(DateTimeInterface $deadline) : $this
Parameters
$deadline : DateTimeInterface
Return values
$this

withTimeout()

public withTimeout(DateIntervalValue $timeout[, string $format = DateInterval::FORMAT_SECONDS ]) : $this
Parameters
$timeout : DateIntervalValue
$format : string = DateInterval::FORMAT_SECONDS
Return values
$this

        
On this page

Search results