/
home
/
techb158
/
ileadtechnology.com
/
SSM
/
app
/
Http
/
Requests
/
institute
/
/home/techb158/ileadtechnology.com/SSM/app/Http/Requests/institute
mkdir
upload
Name
Size
Mode
Actions
InstituteDocumentRequest.php
931
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/SSM/app/Http/Requests/institute/InstituteDocumentRequest.php
(931B)
<?php namespace App\Http\Requests\Institute; use Illuminate\Foundation\Http\FormRequest; class InstituteDocumentRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'title' => 'required', ]; } /** * Translate fields with user friendly name. * * @return array */ public function attributes() { return [ 'title' => trans('institute.document_title'), ]; } /** * Get the error messages for the defined validation rules. * * @return array */ public function messages() { return [ ]; } }
Save
cmd:
run