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
402 B
PHP
20 lines
402 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Transfers;
|
|
|
|
use Pterodactyl\Models\Server;
|
|
use Pterodactyl\Models\ServerTransfer;
|
|
use Throwable;
|
|
|
|
interface CompletesTransfers
|
|
{
|
|
/**
|
|
* Moves the server onto its new node and allocations, then removes it from the old node.
|
|
*
|
|
* @throws Throwable
|
|
*/
|
|
public function complete(ServerTransfer $transfer): Server;
|
|
}
|