mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 02:41:36 +00:00
17 lines
332 B
PHP
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;
|
|
}
|