2026-10-05 18:10:18 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace Pterodactyl\Contracts\Files;
|
|
|
|
|
|
|
|
|
|
use Pterodactyl\Models\Server;
|
|
|
|
|
|
|
|
|
|
interface CompressesFiles
|
|
|
|
|
{
|
|
|
|
|
/**
|
2026-10-11 19:54:55 -04:00
|
|
|
* @param array<mixed> $files
|
2026-10-05 18:10:18 -04:00
|
|
|
* @return DaemonFileObject
|
|
|
|
|
*/
|
|
|
|
|
public function compress(Server $server, ?string $root, array $files): array;
|
|
|
|
|
}
|