->
dispatch(new MigrateRowDeleteEvent($this->migration,
$destination_key), MigrateEvents::PRE_ROW_DELETE
);
$destination->
rollback($destination_key);
$this->
getEventDispatcher() ->
dispatch(new MigrateRowDeleteEvent($this->migration,
$destination_key), MigrateEvents::POST_ROW_DELETE
);
} // We're now done with this row, so remove it from the map.
$id_map->
deleteDestination($destination_key);
} else { // If there is no destination key the import probably failed and we can
// remove the row without further action.
$source_key =
$id_map->
currentSource();
$id_map->
delete($source_key);
} $id_map->
next();
// Check for memory exhaustion.
if (($return =
$this->
checkStatus()) != MigrationInterface::RESULT_COMPLETED
) { break;
} // If anyone has requested we stop, return the requested result.
if ($this->migration->
getStatus() == MigrationInterface::STATUS_STOPPING
) {