/**
* Execute the migration
*
* @return void
*/
public function execute()
{
foreach ($this->nodeDataRepository->findAll() as $node) {
foreach ($this->configuration as $migrationDescription) {
if ($this->nodeFilterService->matchFilters($node, $migrationDescription['filters'])) {
$this->nodeTransformationService->execute($node, $migrationDescription['transformations']);
if (!$this->nodeDataRepository->isInRemovedNodes($node)) {
$this->nodeDataRepository->update($node);
}
}
}
}
}