Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from dragoonis/patch-1

Proposing the exists() method to check existence in the cache.
  • Loading branch information...
commit 3034efe3673ede77063b067b7a0f47a572cec387 2 parents 29bc77e + f6bb25c
@evert authored
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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.