public function receive(Signal $signal)
{
if (!$signal instanceof Signal\ContentService\CopyContentSignal) {
return;
}
$this->searchHandler->indexContent($this->persistenceHandler->contentHandler()->load($signal->dstContentId, $signal->dstVersionNo));
$locations = $this->persistenceHandler->locationHandler()->loadLocationsByContent($signal->dstContentId);
foreach ($locations as $location) {
$this->searchHandler->indexLocation($location);
}
}