MCRouter::gets

Retreive a record and its metadata

Description

public function gets(
  string $key,
): Awaitable<array>

Parameters

  • string$key = Name of the key to retreive

Return Values

  • array - - Value retreived and additional metadata array( 'value' => 'Value retreived', 'cas' => 1234567890, 'flags' => 0x12345678, )