Files

18 lines
397 B
PHP
Raw Permalink Normal View History

2026-10-05 18:10:18 -04:00
<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Backups;
use Pterodactyl\Models\Backup;
use Pterodactyl\Models\User;
interface GeneratesBackupDownloadLinks
{
2026-10-11 23:50:53 -04:00
/**
* A short-lived link the user can download the backup from: a presigned S3 URL, or a signed
* link to the backup on its node.
*/
2026-10-05 18:10:18 -04:00
public function generate(Backup $backup, User $user): string;
}