2026-10-08 17:40:00 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace Pterodactyl\Contracts\Mounts;
|
|
|
|
|
|
|
|
|
|
use Pterodactyl\Models\Mount;
|
|
|
|
|
|
|
|
|
|
interface UpdatesMounts
|
|
|
|
|
{
|
|
|
|
|
/**
|
2026-10-11 23:50:53 -04:00
|
|
|
* The input is validated here and takes the fields a mount is created with, required ones
|
|
|
|
|
* included; the description and flags keep their stored values when they are left out.
|
|
|
|
|
* Extension field values go under `extensions` as ValidatedExtensionValues.
|
2026-10-08 17:40:00 -04:00
|
|
|
*
|
2026-10-11 19:54:55 -04:00
|
|
|
* @param array<string, mixed> $input the fields a mount is created with
|
2026-10-08 17:40:00 -04:00
|
|
|
*/
|
2026-10-11 07:09:19 -04:00
|
|
|
public function update(Mount $mount, array $input): Mount;
|
2026-10-08 17:40:00 -04:00
|
|
|
}
|