/
home
/
techb158
/
ileadtechnology.com
/
SSM
/
app
/
Http
/
Requests
/
utility
/
/home/techb158/ileadtechnology.com/SSM/app/Http/Requests/utility
mkdir
upload
Name
Size
Mode
Actions
EmailTemplateRequest.php
1595
0644
edit
dl
rm
IpFilterRequest.php
1004
0644
edit
dl
rm
TodoRequest.php
1000
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/SSM/app/Http/Requests/utility/IpFilterRequest.php
(1004B)
<?php namespace App\Http\Requests\Utility; use Illuminate\Foundation\Http\FormRequest; class IpFilterRequest 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 [ 'start_ip' => 'required|ip', 'end_ip' => 'ip' ]; } /** * Translate fields with user friendly name. * * @return array */ public function attributes() { return [ 'start_ip' => trans('utility.start_ip'), 'end_ip' => trans('utility.end_ip'), ]; } /** * Get the error messages for the defined validation rules. * * @return array */ public function messages() { return [ ]; } }
Save
cmd:
run