mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 05:15:41 -05:00
19 lines
408 B
PHP
19 lines
408 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Allocations;
|
|
|
|
use Pterodactyl\Exceptions\Service\Allocation\ServerUsingAllocationException;
|
|
use Pterodactyl\Models\Allocation;
|
|
|
|
interface DeletesAllocations
|
|
{
|
|
/**
|
|
* An allocation a server is using is not deleted.
|
|
*
|
|
* @throws ServerUsingAllocationException
|
|
*/
|
|
public function delete(Allocation $allocation): void;
|
|
}
|