app/Http/Requests/AmortizationRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'loan_amount'=>'required|numeric',
            'loan_term'=>'required|numeric',
            'interest'=>'required|numeric',
        ];
    }
public function rules ( ) { return [ 'loan_amount' => 'required|numeric' , 'loan_term' => 'required|numeric' , 'interest' => 'required|numeric' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .