public update ( eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct $struct, $locationId ) | ||
$struct | eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct |
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');
}