GetResult
interface GetResult implements Result (View source)
Interface for results created by the get operation.
Methods
array|null
content()
Returns the content of the document fetched
DateTimeInterface|null
expiryTime()
Returns the document expiration time or null if the document does not expire.
Details
string|null
cas()
Returns the CAS value for the document
array|null
content()
Returns the content of the document fetched
DateTimeInterface|null
expiryTime()
Returns the document expiration time or null if the document does not expire.
Note, that this function will return expiry only when GetOptions had withExpiry set to true.