public function loadLocationsByContent($contentId, $rootLocationId = null) { $rows = $this->locationGateway->loadLocationDataByContent($contentId, $rootLocationId); return $this->locationMapper->createLocationsFromRows($rows); }