mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
putMany() should return array, not put()
This commit is contained in:
parent
9e4849439f
commit
b20f62ecfa
1 changed files with 2 additions and 2 deletions
|
|
@ -12,6 +12,6 @@ interface StorageDriver
|
|||
public function deleteTenant(string $uuid): bool;
|
||||
public function get(string $uuid, string $key);
|
||||
public function getMany(string $uuid, array $keys): array;
|
||||
public function put(string $uuid, string $key, $value): array;
|
||||
public function putMany(string $uuid, array $values); // todo better argument name than "values" for kv pairs?
|
||||
public function put(string $uuid, string $key, $value);
|
||||
public function putMany(string $uuid, array $values): array; // todo better argument name than "values" for kv pairs?
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue