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
368 B
PHP
20 lines
368 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Allocations;
|
|
|
|
use Pterodactyl\Exceptions\DisplayException;
|
|
use Pterodactyl\Models\Allocation;
|
|
use Pterodactyl\Models\Server;
|
|
use Throwable;
|
|
|
|
interface AssignsAllocations
|
|
{
|
|
/**
|
|
* @throws DisplayException
|
|
* @throws Throwable
|
|
*/
|
|
public function assign(Server $server): Allocation;
|
|
}
|