Documentation

PrependOptions
in package

Table of Contents

$durabilityLevel  : string|null
$timeoutMilliseconds  : int|null
build()  : PrependOptions
Static helper to keep code more readable
durabilityLevel()  : PrependOptions
Sets the durability level to enforce when writing the document.
timeout()  : PrependOptions
Sets the operation timeout in milliseconds.

Properties

$timeoutMilliseconds

private int|null $timeoutMilliseconds = null

Methods

timeout()

Sets the operation timeout in milliseconds.

public timeout(int $milliseconds) : PrependOptions
Parameters
$milliseconds : int

the operation timeout to apply

Tags
since
4.0.0
Return values
PrependOptions

        

Search results