Files
pterodactyl-panel/app/Contracts/Locations/UpdatesLocations.php
T
2026-10-12 05:18:55 -04:00

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;
}