Files
pterodactyl-panel/app/Contracts/Nodes/ResetsServerStates.php
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

20 lines
419 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Nodes;
use Pterodactyl\Models\Node;
use Throwable;
interface ResetsServerStates
{
/**
* Returns every installing or restoring server on the node to a normal state after a
* Wings restart, logging a failed restore for each backup that was in progress.
*
* @throws Throwable
*/
public function reset(Node $node): void;
}