Redis::set

public function set(
  $key,
  $value,
  $optionArrayOrExpiration = -1,
);

Parameters

  • $key
  • $value
  • $optionArrayOrExpiration = -1