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-08-15 22:21:47 -05:00
|
|
|
namespace Pterodactyl\Http\Requests\Admin\Service;
|
2017-07-19 20:49:41 -05:00
|
|
|
|
2017-08-15 22:21:47 -05:00
|
|
|
use Pterodactyl\Http\Requests\Admin\AdminFormRequest;
|
|
|
|
|
|
|
|
class ServiceFunctionsFormRequest extends AdminFormRequest
|
2017-07-19 20:49:41 -05:00
|
|
|
{
|
2017-08-15 22:21:47 -05:00
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function rules()
|
|
|
|
{
|
|
|
|
return [
|
|
|
|
'index_file' => 'required|nullable|string',
|
|
|
|
];
|
|
|
|
}
|
2017-07-19 20:49:41 -05:00
|
|
|
}
|