mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 13:25:47 -05:00
19 lines
475 B
PHP
19 lines
475 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Locations;
|
|
|
|
use Pterodactyl\Models\Location;
|
|
|
|
interface UpdatesLocations
|
|
{
|
|
/**
|
|
* Update an existing location. The input is validated here, so it can come straight from any caller;
|
|
* extension field values go under `extensions` as ValidatedExtensionValues.
|
|
*
|
|
* @param ActionInput $input short and long
|
|
*/
|
|
public function update(Location $location, array $input): Location;
|
|
}
|