peliprint/app/Http/Requests/Admin/Extensions/Blueprint/BlueprintSettingsFormRequest.php

36 lines
807 B
PHP
Raw Normal View History

<?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' => 'string',
2023-04-09 15:15:11 -04:00
'developer' => 'string',
2023-04-09 15:15:11 -04:00
'developer:cmd' => 'string',
'api:endpoint' => 'string',
];
}
public function attributes(): array
{
return [
'placeholder' => 'Placeholder',
2023-04-09 15:15:11 -04:00
'developer' => 'Developer Mode',
2023-04-09 15:15:11 -04:00
'developer:cmd' => 'Developer Command',
'api:endpoint' => 'API Endpoint',
];
}
}