Files
pterodactyl-panel/app/Services/Servers/MountListService.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

21 lines
385 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Services\Servers;
use Illuminate\Support\Collection;
use Pterodactyl\Models\Mount;
use Pterodactyl\Models\Server;
class MountListService
{
/**
* @return Collection<int, Mount>
*/
public function handle(Server $server): Collection
{
return Mount::query()->availableToServer($server)->get();
}
}