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-08 15:31:20 -04:00
|
|
|
'developer' => 'string',
|
2023-04-05 15:29:58 -04:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
public function attributes(): array
|
|
|
|
{
|
|
|
|
return [
|
2023-04-08 15:31:20 -04:00
|
|
|
'placeholder' => 'Placeholder',
|
|
|
|
'developer' => 'Developer Mode',
|
2023-04-05 15:29:58 -04:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|