public function loadLocation($locationId) { $data = $this->locationGateway->getBasicNodeData($locationId); return $this->locationMapper->createLocationFromRow($data); }
/** * Loads the data for the location identified by $locationId. * * @param int $locationId * * @return \eZ\Publish\SPI\Persistence\Content\Location */ public function load($locationId) { return $this->treeHandler->loadLocation($locationId); }