Redis::expire

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

Parameters

  • $key
  • $ttl