1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:24:03 +00:00
This commit is contained in:
Samuel Štancl 2019-09-11 21:38:03 +02:00
parent ad902ae22b
commit 2bb03040ee

View file

@ -114,6 +114,7 @@ class RedisStorageDriver implements StorageDriver
public function all(array $ids = []): array public function all(array $ids = []): array
{ {
// todo $this->redis->pipeline() - return? // todo $this->redis->pipeline() - return?
// todo transaction instead of pipeline?
$hashes = array_map(function ($hash) { $hashes = array_map(function ($hash) {
return "tenants:{$hash}"; return "tenants:{$hash}";
}, $ids); }, $ids);