2017-06-29 08:54:05 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
|
2020-03-29 01:03:52 +08:00
|
|
|
use App\Contracts\FormRequest;
|
2017-06-29 08:54:05 +08:00
|
|
|
use App\Models\PirepField;
|
|
|
|
|
2017-07-05 02:57:08 +08:00
|
|
|
class CreatePirepFieldRequest extends FormRequest
|
2017-06-29 08:54:05 +08:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Get the validation rules that apply to the request.
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
2020-03-29 01:03:52 +08:00
|
|
|
public function rules(): array
|
2017-06-29 08:54:05 +08:00
|
|
|
{
|
|
|
|
return PirepField::$rules;
|
|
|
|
}
|
|
|
|
}
|