Adding possibility to use a different cache-backend for locking and caching

- Renaming *LockDriver to *Lock since it isn't a "driver" anymore
This commit is contained in:
Philipp Holzer
2019-08-04 15:42:39 +02:00
parent 86bf2ee45a
commit 34e4968c06
19 changed files with 149 additions and 64 deletions
+5
View File
@@ -192,4 +192,9 @@ class RedisCache extends AbstractCache implements IMemoryCache
$this->redis->unwatch();
return false;
}
public function __toString()
{
return self::TYPE_REDIS;
}
}