mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
20 lines
567 B
PHP
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;
|
|
}
|