$pharmacy->getRouteKey(), 'key' => [ 'public' => $pharmacy->getPublicKey(), 'route' => $pharmacy->getRouteKey(), ], 'id' => $pharmacy->id, 'name' => $pharmacy->name, 'details' => $pharmacy->details, 'address' => $pharmacy->address, 'image' => $pharmacy->image, 'lattitude' => $pharmacy->lattitude, 'longitude' => $pharmacy->longitude, 'telephone' => $pharmacy->telephone, 'fax' => $pharmacy->fax, 'email' => $pharmacy->email, 'emergency_no' => $pharmacy->emergency_no, 'slug' => $pharmacy->slug, 'status' => $pharmacy->status, 'created_at' => $pharmacy->created_at, 'user_id' => $pharmacy->user_id, 'user_type' => $pharmacy->user_type, 'updated_at' => $pharmacy->updated_at, 'deleted_at' => $pharmacy->deleted_at, 'url' => [ 'public' => trans_url('pharmacy/'.$pharmacy->getPublicKey()), 'user' => guard_url('pharmacy/pharmacy/'.$pharmacy->getRouteKey()), ], 'status' => trans('app.'.$pharmacy->status), 'created_at' => format_date($pharmacy->created_at), 'updated_at' => format_date($pharmacy->updated_at), ]; } }