$waterway->getRouteKey(), 'key' => [ 'public' => $waterway->getPublicKey(), 'route' => $waterway->getRouteKey(), ], 'name' => $waterway->name, 'address' => $waterway->address, 'city' => $waterway->city, 'postcode' => $waterway->postcode, 'latitude' => $waterway->latitude, 'longitude' => $waterway->longitude, 'user_id' => $waterway->user_id, 'user_type' => $waterway->user_type, 'slug' => $waterway->slug, 'deleted_at' => $waterway->deleted_at, 'url' => [ 'public' => trans_url('waterway/'.$waterway->getPublicKey()), 'user' => guard_url('waterway/waterway/'.$waterway->getRouteKey()), ], 'status' => trans('app.'.$waterway->status), 'created_at' => format_date($waterway->created_at), 'updated_at' => format_date($waterway->updated_at), ]; } }