Documentation

GetReplicaResult extends Result

Interface for results created by the getReplica operation.

Table of Contents

cas()  : string|null
Returns the CAS value for the document
content()  : array<string|int, mixed>|null
Returns the content of the document fetched
isReplica()  : bool
Returns whether or not the document came from a replica server

Methods

cas()

Returns the CAS value for the document

public cas() : string|null
Return values
string|null

content()

Returns the content of the document fetched

public content() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

isReplica()

Returns whether or not the document came from a replica server

public isReplica() : bool
Return values
bool

Search results