money = $money; } /** * Render the exception into an HTTP response. * * @return \Illuminate\Http\Response */ public function render() { return response()->json([ 'message' => trans('coupon::messages.minimum_spend', ['amount' => $this->money->convertToCurrentCurrency()->format()]), ], 403); } }