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>
25 lines
413 B
PHP
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;
|
|
}
|