Skip to content

Commit c69d718

Browse files
Merge pull request #46 from TheDragonCode/2.x
Added `rememberForever` method to the Cache contract
2 parents 3e0b400 + b308135 commit c69d718

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Cache/Store.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ public function put(string $key, $value, int $seconds);
4040
*/
4141
public function remember(string $key, $value, int $seconds);
4242

43+
/**
44+
* Store an item forever, regardless of TTL.
45+
*/
46+
public function rememberForever(string $key, $value);
47+
4348
/**
4449
* Remove an item from the cache.
4550
*/

0 commit comments

Comments
 (0)