X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fpq-gateway;a=blobdiff_plain;f=lib%2Fpq%2FGateway%2FTable%2FStaticCache.php;fp=lib%2Fpq%2FGateway%2FTable%2FStaticCache.php;h=34dae3fd7ee37d192827bc4425471555d5d0e9be;hp=7f313464ec745aedf134bbfaac4842e444532275;hb=80c4d645e1650304b1dbcae85dbf17a6593896e4;hpb=c236ef4b1efd3f5d3a03a390f9a3721b06fa1e72 diff --git a/lib/pq/Gateway/Table/StaticCache.php b/lib/pq/Gateway/Table/StaticCache.php index 7f31346..34dae3f 100644 --- a/lib/pq/Gateway/Table/StaticCache.php +++ b/lib/pq/Gateway/Table/StaticCache.php @@ -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; + } }