Skip to content
Browse files

Merge pull request #1 from dragoonis/patch-1

Proposing the exists() method to check existence in the cache.
  • Loading branch information...
2 parents 29bc77e + f6bb25c commit 3034efe3673ede77063b067b7a0f47a572cec387 @evert committed Dec 15, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 proposed/objectcache.md
View
9 proposed/objectcache.md
@@ -59,6 +59,15 @@ To fix this, this document proposes a very simple standard interface.
* @return void
*/
function unset($key);
+
+
+ /**
+ * Check if the key exists in the cache.
+ *
+ * @param string $key
+ * @return boolean
+ */
+ function exists($key);
}

0 comments on commit 3034efe

Please sign in to comment.
Something went wrong with that request. Please try again.