/
home
/
techb158
/
ileadtechnology.com
/
SSM
/
vendor
/
mint
/
service
/
src
/
Requests
/
/home/techb158/ileadtechnology.com/SSM/vendor/mint/service/src/Requests
mkdir
upload
Name
Size
Mode
Actions
InstallRequest.php
2275
0644
edit
dl
rm
LicenseRequest.php
850
0644
edit
dl
rm
SupportRequest.php
560
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/SSM/vendor/mint/service/src/Requests/LicenseRequest.php
(850B)
<?php namespace Mint\Service\Requests; use Illuminate\Foundation\Http\FormRequest; class LicenseRequest 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 [ 'access_code' => 'required', 'envato_email' => 'required|email' ]; } /** * Translate fields with user friendly name. * * @return array */ public function attributes() { return [ 'access_code' => trans('install.access_code'), 'envato_email' => trans('install.envato_email') ]; } }
Save
cmd:
run