RemoveOptions
in package
Table of Contents
- $cas : string|null
- $durabilityLevel : string|null
- $timeoutMilliseconds : int|null
- build() : RemoveOptions
- Static helper to keep code more readable
- cas() : RemoveOptions
- Sets the cas value to use when performing this operation.
- durabilityLevel() : RemoveOptions
- Sets the durability level to enforce when writing the document.
- timeout() : RemoveOptions
- Sets the operation timeout in milliseconds.
Properties
$cas
private
string|null
$cas
= null
$durabilityLevel
private
string|null
$durabilityLevel
= null
$timeoutMilliseconds
private
int|null
$timeoutMilliseconds
= null
Methods
build()
Static helper to keep code more readable
public
static build() : RemoveOptions
Tags
Return values
RemoveOptions —cas()
Sets the cas value to use when performing this operation.
public
cas(string $cas) : RemoveOptions
Parameters
- $cas : string
-
the CAS value to use
Tags
Return values
RemoveOptions —durabilityLevel()
Sets the durability level to enforce when writing the document.
public
durabilityLevel(string|int $level) : RemoveOptions
Parameters
- $level : string|int
-
the durability level to enforce
Tags
Return values
RemoveOptions —timeout()
Sets the operation timeout in milliseconds.
public
timeout(int $milliseconds) : RemoveOptions
Parameters
- $milliseconds : int
-
the operation timeout to apply