Skip to content

Commit 6349e0c

Browse files
committed
Update BaseHandler
1 parent 82a4d5a commit 6349e0c

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

system/Cache/Handlers/BaseHandler.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,6 @@ public static function validateKey($key, $prefix = ''): string
7575
return strlen($prefix . $key) > static::MAX_KEY_LENGTH ? $prefix . md5($key) : $prefix . $key;
7676
}
7777

78-
/**
79-
* Get an item from the cache, or execute the given Closure and store the result.
80-
*
81-
* @param string $key Cache item name
82-
* @param int $ttl Time to live
83-
* @param Closure(): mixed $callback Callback return value
84-
*/
8578
public function remember(string $key, int $ttl, Closure $callback): mixed
8679
{
8780
$value = $this->get($key);

0 commit comments

Comments
 (0)