GetAndTouchOptions
in package
Table of Contents
- $timeoutMilliseconds : int|null
- $transcoder : Transcoder
- __construct() : mixed
- build() : GetAndTouchOptions
- Static helper to keep code more readable
- getTranscoder() : Transcoder
- Returns associated transcoder.
- timeout() : GetAndTouchOptions
- Sets the operation timeout in milliseconds.
- transcoder() : GetAndTouchOptions
- Associate custom transcoder with the request.
Properties
$timeoutMilliseconds
private
int|null
$timeoutMilliseconds
= null
$transcoder
private
Transcoder
$transcoder
Methods
__construct()
public
__construct() : mixed
Tags
Return values
mixed —build()
Static helper to keep code more readable
public
static build() : GetAndTouchOptions
Tags
Return values
GetAndTouchOptions —getTranscoder()
Returns associated transcoder.
public
static getTranscoder(GetAndTouchOptions|null $options) : Transcoder
Parameters
- $options : GetAndTouchOptions|null
Tags
Return values
Transcoder —timeout()
Sets the operation timeout in milliseconds.
public
timeout(int $milliseconds) : GetAndTouchOptions
Parameters
- $milliseconds : int
-
the operation timeout to apply
Tags
Return values
GetAndTouchOptions —transcoder()
Associate custom transcoder with the request.
public
transcoder(Transcoder $transcoder) : GetAndTouchOptions
Parameters
- $transcoder : Transcoder