Files
pterodactyl-panel/app/Contracts/Mounts/AttachesNodesToMounts.php
2026-10-12 05:18:58 -04:00

19 lines
449 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Mounts;
use Pterodactyl\Models\Mount;
interface AttachesNodesToMounts
{
/**
* Nodes already attached stay attached. The ids are validated here; errors are reported
* under `nodes` and `nodes.N`.
*
* @param list<mixed> $nodeIds ids of existing nodes, as integers or numeric strings
*/
public function attach(Mount $mount, array $nodeIds): void;
}