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