diff options
Diffstat (limited to 'lib/public/imemcache.php')
-rw-r--r-- | lib/public/imemcache.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/imemcache.php b/lib/public/imemcache.php index bc7762f80f9..56a33c9572f 100644 --- a/lib/public/imemcache.php +++ b/lib/public/imemcache.php @@ -65,4 +65,14 @@ interface IMemcache extends ICache { * @since 8.0.0 */ public function dec($key, $step = 1); + + /** + * Compare and set + * + * @param string $key + * @param mixed $old + * @param mixed $new + * @return bool + */ + public function cas($key, $old, $new); } |