Documentation

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

$durabilityLevel

private string|null $durabilityLevel = null

$timeoutMilliseconds

private int|null $timeoutMilliseconds = null

Methods

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
since
4.0.0
Return values
RemoveOptions

timeout()

Sets the operation timeout in milliseconds.

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

the operation timeout to apply

Tags
since
4.0.0
Return values
RemoveOptions

        

Search results