mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 20:05:48 -05:00
19 lines
449 B
PHP
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;
|
|
}
|