phpvms/app/Http/Requests/UpdateAircraftRequest.php

20 lines
329 B
PHP
Raw Normal View History

2017-06-09 09:37:51 +08:00
<?php
namespace App\Http\Requests;
use App\Contracts\FormRequest;
2017-06-09 09:37:51 +08:00
use App\Models\Aircraft;
class UpdateAircraftRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules(): array
2017-06-09 09:37:51 +08:00
{
return Aircraft::$rules;
}
}