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',
|
|
|
|
'developer' => 'boolean',
|
2023-04-05 15:29:58 -04:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
public function attributes(): array
|
|
|
|
{
|
|
|
|
return [
|
2023-04-08 10:16:03 -04:00
|
|
|
'placeholder' => 'placeholder',
|
|
|
|
'developer' => 'developer',
|
2023-04-05 15:29:58 -04:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|