public function update(UpdateStruct $struct, $locationId) { $this->logger->logCall(__METHOD__, array('location' => $locationId, 'struct' => $struct)); $this->persistenceHandler->locationHandler()->update($struct, $locationId); $this->cache->clear('location', $locationId); $this->cache->clear('location', 'subtree'); }