$linkinfo->getRouteKey(), 'key' => [ 'public' => $linkinfo->getPublicKey(), 'route' => $linkinfo->getRouteKey(), ], 'name' => $linkinfo->name, 'slug' => $linkinfo->slug, 'user_id' => $linkinfo->user_id, 'deleted_at' => $linkinfo->deleted_at, 'url' => [ 'public' => trans_url('master/'.$linkinfo->getPublicKey()), 'user' => guard_url('master/linkinfo/'.$linkinfo->getRouteKey()), ], 'status' => trans('app.'.$linkinfo->status), 'created_at' => format_date($linkinfo->created_at), 'updated_at' => format_date($linkinfo->updated_at), ]; } }