compatibility with ext-pq/master
[m6w6/pq-gateway] / lib / pq / Gateway / Table / StaticCache.php
index 7f313464ec745aedf134bbfaac4842e444532275..34dae3fd7ee37d192827bc4425471555d5d0e9be 100644 (file)
@@ -48,4 +48,24 @@ class StaticCache implements CacheInterface
                unset(static::$cache[$key]);
                return $this;
        }
+       
+       /**
+        * @inheritdoc
+        * @param string $key
+        * @return \pq\Gateway\Table\StaticCache
+        */
+       function lock($key) {
+               /* no possible concurrency */
+               return $this;
+       }
+       
+       /**
+        * @inheritdoc
+        * @param string $key
+        * @return \pq\Gateway\Table\StaticCache
+        */
+       function unlock($key) {
+               /* no possible concurrency */
+               return $this;
+       }
 }