mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-06 06:15:51 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
19 lines
372 B
PHP
19 lines
372 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Nodes;
|
|
|
|
use Pterodactyl\Exceptions\Service\HasActiveServersException;
|
|
use Pterodactyl\Models\Node;
|
|
|
|
interface DeletesNodes
|
|
{
|
|
/**
|
|
* Delete a node from the panel if no servers are attached to it.
|
|
*
|
|
* @throws HasActiveServersException
|
|
*/
|
|
public function delete(Node $node): void;
|
|
}
|