Skip to content

Commit 6198b8d

Browse files
committed
Flush & Forget
1 parent 318cc5e commit 6198b8d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Cache.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,14 @@ public function remember($name, $time = 1, $function = null)
4949
{
5050
return $this->cache->remember($name, $time, $function);
5151
}
52+
53+
public function forget($name)
54+
{
55+
return $this->cache->forget($name);
56+
}
57+
58+
public function flush()
59+
{
60+
return $this->cache->flush();
61+
}
5262
}

0 commit comments

Comments
 (0)