This commit is contained in:
Saeed Vaziry
2023-07-02 12:47:50 +02:00
commit 5c72f12490
825 changed files with 41659 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?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;
}