From a6d3d9befd393b9d22b38ce5ebbacf500c75dbc8 Mon Sep 17 00:00:00 2001 From: Sleiman Sleiman Date: Fri, 10 Jul 2015 17:06:39 +0300 Subject: [PATCH] Added getPrefix function to be implemented. --- cache.md | 1 + 1 file changed, 1 insertion(+) diff --git a/cache.md b/cache.md index 927a17af6b..c37f9cae61 100644 --- a/cache.md +++ b/cache.md @@ -244,6 +244,7 @@ To create our custom cache driver, we first need to implement the `Illuminate\Co public function forever($key, $value) {} public function forget($key) {} public function flush() {} + public function getPrefix(){}; } We just need to implement each of these methods using a MongoDB connection. Once our implementation is complete, we can finish our custom driver registration: