Redis::setTimeout

public function setTimeout(
  $key,
  $ttl,
);

Parameters

  • $key
  • $ttl