Files

19 lines
414 B
PHP
Raw Permalink Normal View History

2026-10-05 18:10:18 -04:00
<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Locations;
use Pterodactyl\Models\Location;
interface UpdatesLocations
{
/**
2026-10-11 23:50:53 -04:00
* The input is validated here. Extension field values go under `extensions` as
* ValidatedExtensionValues.
2026-10-05 18:10:18 -04:00
*
2026-10-11 19:54:55 -04:00
* @param array<string, mixed> $input short and long
2026-10-05 18:10:18 -04:00
*/
2026-10-11 06:17:07 -04:00
public function update(Location $location, array $input): Location;
2026-10-05 18:10:18 -04:00
}