mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
20 lines
419 B
PHP
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;
|
|
}
|