repository->getLocationService()->loadLocation($locationId); $locations[$location->id] = $location; } break; case self::MATCH_LOCATION_REMOTE_ID: foreach($match as $locationRemoteId) { $location = $this->repository->getLocationService()->loadLocationByRemoteId($locationRemoteId); $locations[$location->id] = $location; } break; } return new LocationCollection($locations); } return parent::matchLocation($conditions, $sort, $offset, $limit); } }