Permalink
Browse files

Added 'clear'

  • Loading branch information...
1 parent 29bc77e commit 4e911b0c2fa566774ee7a515d8c5ed964cd57c57 @evert committed Dec 17, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 proposed/objectcache.md
View
@@ -60,6 +60,16 @@ To fix this, this document proposes a very simple standard interface.
*/
function unset($key);
+ /**
+ * Clears the entire cache.
+ *
+ * Implementations may choose to ignore this. What happens in this case
+ * is up to the implementor.
+ *
+ * @return void
+ */
+ function clear();
+
}
## Notes

0 comments on commit 4e911b0

Please sign in to comment.