mirror of
https://gh.wpcy.net/https://github.com/fairpm/aspirecloud.git
synced 2026-06-20 02:22:28 +08:00
20 lines
389 B
PHP
20 lines
389 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts\Downloads;
|
|
|
|
use App\Enums\AssetType;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
|
interface Downloader
|
|
{
|
|
public function download(
|
|
Request $request,
|
|
AssetType $type,
|
|
string $slug,
|
|
string $file,
|
|
?string $revision = null,
|
|
): Response;
|
|
}
|