Файловый менеджер - Редактировать - /home/clickysoft/public_html/angelo.clickysoft.net/app/Http/Requests/CheckInvestorInvestments.php
Назад
<?php namespace App\Http\Requests; use App\Rules\CheckInvestmentLimit; use App\Rules\CheckRemainingShares; use App\Rules\CheckUserTaxForm; use App\Rules\CheckWalletAmount; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Request; class CheckInvestorInvestments 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(Request $request) { return [ 'no_of_shares' => ['required', new CheckInvestmentLimit($request->offering_id), new CheckUserTaxForm(), new CheckRemainingShares($request->offering_id)], 'investment_amount' => new CheckWalletAmount(), ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка