<?php namespace App\Http\Requests\Common; use App\Abstracts\Http\FormRequest; class Report extends FormRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'name' => 'required|string', 'description' => 'required|string', 'class' => 'required|string', ]; } }