GetAndTouchOptions
in package
Table of Contents
- decoder() : GetAndTouchOptions
- Associate custom transcoder with the request.
- timeout() : GetAndTouchOptions
- Sets the operation timeout in milliseconds.
Methods
decoder()
Associate custom transcoder with the request.
public
decoder(callable $arg) : GetAndTouchOptions
Parameters
- $arg : callable
-
decoding function with signature (returns decoded value):
function decoder(string $bytes, int $flags, int $datatype): mixed
Return values
GetAndTouchOptions —timeout()
Sets the operation timeout in milliseconds.
public
timeout(int $arg) : GetAndTouchOptions
Parameters
- $arg : int
-
the operation timeout to apply