2017-07-20 02:49:41 +01:00
|
|
|
<?php
|
|
|
|
|
2017-10-07 05:57:53 +01:00
|
|
|
namespace Pterodactyl\Http\Requests\Admin\Nest;
|
2017-07-20 02:49:41 +01:00
|
|
|
|
2017-08-16 04:21:47 +01:00
|
|
|
use Pterodactyl\Http\Requests\Admin\AdminFormRequest;
|
|
|
|
|
2017-10-07 05:57:53 +01:00
|
|
|
class StoreNestFormRequest extends AdminFormRequest
|
2017-07-20 02:49:41 +01:00
|
|
|
{
|
2022-10-14 17:59:20 +01:00
|
|
|
public function rules(): array
|
2017-08-16 04:21:47 +01:00
|
|
|
{
|
2017-10-03 04:51:13 +01:00
|
|
|
return [
|
2020-09-27 00:29:26 +01:00
|
|
|
'name' => 'required|string|min:1|max:191',
|
2020-04-18 01:55:01 +01:00
|
|
|
'description' => 'string|nullable',
|
2017-08-16 04:21:47 +01:00
|
|
|
];
|
|
|
|
}
|
2017-07-20 02:49:41 +01:00
|
|
|
}
|