mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
19 lines
394 B
PHP
19 lines
394 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Locations;
|
|
|
|
use Pterodactyl\Models\Location;
|
|
|
|
interface CreatesLocations
|
|
{
|
|
/**
|
|
* The input is validated here. Extension field values go under `extensions` as
|
|
* ValidatedExtensionValues.
|
|
*
|
|
* @param array<string, mixed> $input short and long
|
|
*/
|
|
public function create(array $input): Location;
|
|
}
|