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