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

19 lines
449 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Locations;
use Pterodactyl\Models\Location;
interface CreatesLocations
{
/**
* Create a new 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 create(array $input): Location;
}