Skip to content

Commit

Permalink
Added getPrefix function to be implemented.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleimanx2 committed Jul 10, 2015
1 parent a189878 commit a6d3d9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a6d3d9b

Please sign in to comment.