peliprint/app/Http/Requests/Admin/Extensions/Blueprint/BlueprintSettingsFormRequest.php
purple af7b4c30cb Updated BlueprintExtensionController
Made the code look a bit better and added a way for the admin options to save. (I later realized I could have done this using a much easier way. I'm just built different and it works. If it aint broke don't fix it.)
2023-02-26 14:38:39 +01:00

29 lines
699 B
PHP

<?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 [
'placeholder:1' => 'string',
'placeholder:2' => 'string',
'placeholder:3' => 'string',
];
}
public function attributes(): array
{
return [
'placeholder:1' => 'placeholder one',
'placeholder:2' => 'placeholder two',
'placeholder:3' => 'placeholder three',
];
}
}