$recomentation->getRouteKey(), 'key' => [ 'public' => $recomentation->getPublicKey(), 'route' => $recomentation->getRouteKey(), ], 'title' => $recomentation->title, 'url' => $recomentation->url, 'priority' => $recomentation->priority, 'type' => $recomentation->type, 'assigned_id' => $recomentation->assigned_id, 'photos' => $recomentation->photos, 'user_id' => $recomentation->user_id, 'user_type' => $recomentation->user_type, ')' => $recomentation->), 'deleted_at' => $recomentation->deleted_at, 'url' => [ 'public' => trans_url('recomentation/'.$recomentation->getPublicKey()), 'user' => guard_url('recomentation/recomentation/'.$recomentation->getRouteKey()), ], 'status' => trans('app.'.$recomentation->status), 'created_at' => format_date($recomentation->created_at), 'updated_at' => format_date($recomentation->updated_at), ]; } }