1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:34:04 +00:00

CanDeleteKeys interface

This commit is contained in:
Samuel Štancl 2019-10-27 11:35:24 +01:00
parent bdab188a61
commit c8e8c838db
6 changed files with 82 additions and 5 deletions

View file

@ -0,0 +1,19 @@
<?php
namespace Stancl\Tenancy\Contracts\Future;
use Stancl\Tenancy\Tenant;
/**
* This interface will be part of the StorageDriver interface in 3.x.
*/
interface CanDeleteKeys
{
/**
* Delete keys from the storage.
*
* @param string[] $keys
* @return void
*/
public function deleteMany(array $keys, Tenant $tenant = null): void;
}