$currency->getRouteKey(), 'key' => [ 'public' => $currency->getPublicKey(), 'route' => $currency->getRouteKey(), ], 'currency_name' => $currency->currency_name, 'currency_code' => $currency->currency_code, 'currency_value' => $currency->currency_value, 'currency_symbol' => $currency->currency_symbol, 'currency_status' => $currency->currency_status, 'url' => [ 'public' => trans_url('currency_setting/'.$currency->getPublicKey()), 'user' => guard_url('currency_setting/currency/'.$currency->getRouteKey()), ], 'status' => trans('app.'.$currency->status), 'created_at' => format_date($currency->created_at), 'updated_at' => format_date($currency->updated_at), ]; } }