$currency->getRouteKey(), 'key' => [ 'public' => $currency->getPublicKey(), 'route' => $currency->getRouteKey(), ], 'code' => $currency->code, 'name' => $currency->name, 'symbol' => $currency->symbol, 'description' => $currency->description, 'deleted_at' => $currency->deleted_at, 'url' => [ 'public' => trans_url('invent/'.$currency->getPublicKey()), 'user' => guard_url('invent/currency/'.$currency->getRouteKey()), ], 'status' => trans('app.'.$currency->status), 'created_at' => format_date($currency->created_at), 'updated_at' => format_date($currency->updated_at), ]; } }