vito/app/Contracts/StorageProvider.php
Saeed Vaziry e1eb42059f code style fix
add command tests
2023-09-02 16:41:42 +02:00

17 lines
332 B
PHP

<?php
namespace App\Contracts;
use App\Models\Server;
interface StorageProvider
{
public function connect(): bool;
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;
}