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>
19 lines
361 B
PHP
19 lines
361 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Transfers;
|
|
|
|
use Pterodactyl\Models\ServerTransfer;
|
|
use Throwable;
|
|
|
|
interface FailsTransfers
|
|
{
|
|
/**
|
|
* Marks the transfer as failed and releases the allocations reserved on the target node.
|
|
*
|
|
* @throws Throwable
|
|
*/
|
|
public function fail(ServerTransfer $transfer): void;
|
|
}
|