mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 05:15:41 -05:00
21 lines
395 B
PHP
21 lines
395 B
PHP
<?php
|
|||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace Pterodactyl\Contracts\Servers;
|
||
|
|
|
||
|
|
use Pterodactyl\Exceptions\DisplayException;
|
||
|
|
use Pterodactyl\Models\Server;
|
||
|
|
use Throwable;
|
||
|
|
|
||
|
|
interface UpdatesServerBuild
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @param ServerBuildModificationData $data
|
||
|
|
*
|
||
|
|
* @throws Throwable
|
||
|
|
* @throws DisplayException
|
||
|
|
*/
|
||
|
|
public function update(Server $server, array $data): Server;
|
||
|
|
}
|