2017-07-19 20:49:41 -05:00
|
|
|
<?php
|
2017-09-25 21:43:01 -05:00
|
|
|
/**
|
2017-07-19 20:49:41 -05:00
|
|
|
* Pterodactyl - Panel
|
|
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
|
|
|
*
|
2017-09-25 21:43:01 -05:00
|
|
|
* This software is licensed under the terms of the MIT license.
|
|
|
|
* https://opensource.org/licenses/MIT
|
2017-07-19 20:49:41 -05:00
|
|
|
*/
|
|
|
|
|
2017-10-06 23:57:53 -05:00
|
|
|
namespace Pterodactyl\Http\Requests\Admin\Nest;
|
2017-07-19 20:49:41 -05:00
|
|
|
|
2017-08-15 22:21:47 -05:00
|
|
|
use Pterodactyl\Http\Requests\Admin\AdminFormRequest;
|
|
|
|
|
2017-10-06 23:57:53 -05:00
|
|
|
class StoreNestFormRequest extends AdminFormRequest
|
2017-07-19 20:49:41 -05:00
|
|
|
{
|
2017-08-15 22:21:47 -05:00
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
2017-10-03 23:36:39 -05:00
|
|
|
public function rules()
|
2017-08-15 22:21:47 -05:00
|
|
|
{
|
2017-10-02 22:51:13 -05:00
|
|
|
return [
|
2017-08-15 22:21:47 -05:00
|
|
|
'name' => 'required|string|min:1|max:255',
|
|
|
|
'description' => 'required|nullable|string',
|
|
|
|
];
|
|
|
|
}
|
2017-07-19 20:49:41 -05:00
|
|
|
}
|