2023-04-05 15:29:58 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Admin\Extensions\Blueprint;
|
|
|
|
|
|
|
|
use Pterodactyl\Http\Requests\Admin\AdminFormRequest;
|
|
|
|
|
|
|
|
class BlueprintSettingsFormRequest extends AdminFormRequest
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Return all the rules to apply to this request's data.
|
|
|
|
*/
|
|
|
|
public function rules(): array
|
|
|
|
{
|
|
|
|
return [
|
2023-04-08 10:16:03 -04:00
|
|
|
'placeholder' => 'string',
|
2023-04-09 15:15:11 -04:00
|
|
|
|
2023-04-08 15:31:20 -04:00
|
|
|
'developer' => 'string',
|
2023-04-09 15:15:11 -04:00
|
|
|
'developer:cmd' => 'string',
|
2023-04-10 05:35:54 -04:00
|
|
|
|
2023-05-09 15:48:28 -04:00
|
|
|
'telemetry' => 'string',
|
2023-04-05 15:29:58 -04:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
public function attributes(): array
|
|
|
|
{
|
|
|
|
return [
|
2023-04-08 15:31:20 -04:00
|
|
|
'placeholder' => 'Placeholder',
|
2023-04-09 15:15:11 -04:00
|
|
|
|
2023-04-08 15:31:20 -04:00
|
|
|
'developer' => 'Developer Mode',
|
2023-04-09 15:15:11 -04:00
|
|
|
'developer:cmd' => 'Developer Command',
|
2023-04-10 05:35:54 -04:00
|
|
|
|
2023-05-09 15:48:28 -04:00
|
|
|
'telemetry' => 'Telemetry',
|
2023-04-05 15:29:58 -04:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|