$rentals->getRouteKey(), 'key' => [ 'public' => $rentals->getPublicKey(), 'route' => $rentals->getRouteKey(), ], 'owner_id' => $rentals->owner_id, 'house_id' => $rentals->house_id, 'name' => $rentals->name, 'email' => $rentals->email, 'phone' => $rentals->phone, 'permanent_address' => $rentals->permanent_address, 'father_name' => $rentals->father_name, 'contact_person' => $rentals->contact_person, 'contact_phone' => $rentals->contact_phone, 'photo' => $rentals->photo, 'url' => [ 'public' => trans_url('rental/'.$rentals->getPublicKey()), 'user' => guard_url('rental/rentals/'.$rentals->getRouteKey()), ], 'status' => trans('app.'.$rentals->status), 'created_at' => format_date($rentals->created_at), 'updated_at' => format_date($rentals->updated_at), ]; } }