mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
18 lines
442 B
PHP
18 lines
442 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Servers;
|
|
|
|
use Pterodactyl\Models\Server;
|
|
|
|
interface UpdatesServerVariable
|
|
{
|
|
/**
|
|
* Store the value a server uses for one of its egg's variables. The value is not
|
|
* checked against the variable's rules or the user's access to it, so authorize
|
|
* and validate it first.
|
|
*/
|
|
public function update(Server $server, int $variableId, string $value): void;
|
|
}
|