Documentation

GetAndLockOptions

Table of Contents

decoder()  : GetAndLockOptions
Associate custom transcoder with the request.
timeout()  : GetAndLockOptions
Sets the operation timeout in milliseconds.

Methods

decoder()

Associate custom transcoder with the request.

public decoder(callable $arg) : GetAndLockOptions
Parameters
$arg : callable

decoding function with signature (returns decoded value):

function decoder(string $bytes, int $flags, int $datatype): mixed

Return values
GetAndLockOptions

Search results