Files
pterodactyl-panel/app/Actions/Files/PullFile.php
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

19 lines
474 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Actions\Files;
use Pterodactyl\Contracts\Files\PullsFiles;
use Pterodactyl\Facades\Daemon;
use Pterodactyl\Models\Server;
final readonly class PullFile implements PullsFiles
{
/** @param array<array-key, ApiValue9> $options */
public function pull(Server $server, string $url, ?string $directory, array $options): void
{
Daemon::server($server)->files()->pull($url, $directory, $options);
}
}