Retreive a record and its metadata
public function gets(
string $key,
): Awaitable<array>;
Parameters
string $key
= Name of the key to retreive
Returns
array
- - Value retreived and additional metadata
array(
'value' => 'Value retreived',
'cas' => 1234567890,
'flags' => 0x12345678,
)