php-plug-storage/src/Contract/Deletable.php
Snider 373b94efab feat: extract storage providers from app/Plug/Storage
Bunny Storage (Browse, Delete, Download, Upload, VBucket), StorageManager,
domain contracts (Browseable, Deletable, Downloadable, Uploadable)
with Core\Plug\Storage namespace alignment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:29:23 +00:00

25 lines
413 B
PHP

<?php
declare(strict_types=1);
namespace Core\Plug\Storage\Contract;
use Core\Plug\Response;
/**
* File deletion operations.
*/
interface Deletable
{
/**
* Delete a single file.
*/
public function path(string $remotePath): Response;
/**
* Delete multiple files.
*
* @param array<string> $remotePaths
*/
public function paths(array $remotePaths): Response;
}