GetResult
extends
Result
in
Interface for results created by the get 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
- expiryTime() : DateTimeInterface|null
- Returns the document expiration time or null if the document does not expire.
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 —expiryTime()
Returns the document expiration time or null if the document does not expire.
public
expiryTime() : DateTimeInterface|null
Note, that this function will return expiry only when GetOptions had withExpiry set to true.