protected function loadRoom() { $slug = $this->propertyOrParam('idParam'); return RoomDetails::where('slug', '=', $slug)->first(); }