vito/app/Contracts/StorageProvider.php
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

18 lines
399 B
PHP

<?php
namespace App\Contracts;
use App\Models\Server;
use Symfony\Component\HttpFoundation\RedirectResponse;
interface StorageProvider
{
public function connect(): RedirectResponse;
public function upload(Server $server, string $src, string $dest): array;
public function download(Server $server, string $src, string $dest): void;
public function delete(array $paths): void;
}