Files
2026-10-12 05:18:58 -04:00

20 lines
567 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Mounts;
use Pterodactyl\Models\Mount;
interface UpdatesMounts
{
/**
* 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.
*
* @param array<string, mixed> $input the fields a mount is created with
*/
public function update(Mount $mount, array $input): Mount;
}