interface GetResult implements Result (View source)

Interface for results created by the get operation.

Methods

string|null
cas()

Returns the CAS value for the document

from  Result
array|null
content()

Returns the content of the document fetched

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

Return Value

string|null

array|null content()

Returns the content of the document fetched

Return Value

array|null

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.

Return Value

DateTimeInterface|null