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