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
$durabilityLevel
private
string|null
$durabilityLevel
= null
$timeoutMilliseconds
private
int|null
$timeoutMilliseconds
= null
Methods
build()
Static helper to keep code more readable
public
static build() : PrependOptions
Tags
Return values
PrependOptions —durabilityLevel()
Sets the durability level to enforce when writing the document.
public
durabilityLevel(string|int $level) : PrependOptions
Parameters
- $level : string|int
-
the durability level to enforce
Tags
Return values
PrependOptions —timeout()
Sets the operation timeout in milliseconds.
public
timeout(int $milliseconds) : PrependOptions
Parameters
- $milliseconds : int
-
the operation timeout to apply