protected function translateRow(&$row)
 {
     unset($row['idvisit']);
     $row['idsite'] = $this->siteMigrator->getNewId($row['idsite']);
     $row['visit_exit_idaction_url'] = $this->actionMigrator->getNewId($row['visit_exit_idaction_url']);
     $row['visit_exit_idaction_name'] = $this->actionMigrator->getNewId($row['visit_exit_idaction_name']);
     $row['visit_entry_idaction_url'] = $this->actionMigrator->getNewId($row['visit_entry_idaction_url']);
     $row['visit_entry_idaction_name'] = $this->actionMigrator->getNewId($row['visit_entry_idaction_name']);
 }
 public function __construct(DBHelper $targetDb, GCHelper $gcHelper, TableMigrator $siteMigrator, TableMigrator $visitMigrator, ActionMigrator $actionMigrator)
 {
     $this->siteMigrator = $siteMigrator;
     $this->visitMigrator = $visitMigrator;
     $this->actionMigrator = $actionMigrator;
     parent::__construct($targetDb, $gcHelper);
 }
 protected function translateRow(&$row)
 {
     unset($row['idlink_va']);
     $row['idsite'] = $this->siteMigrator->getNewId($row['idsite']);
     $row['idvisit'] = $this->visitMigrator->getNewId($row['idvisit']);
     $row['idaction_url'] = $this->actionMigrator->getNewId($row['idaction_url']);
     $row['idaction_url_ref'] = $this->actionMigrator->getNewId($row['idaction_url_ref']);
     $row['idaction_name'] = $this->actionMigrator->getNewId($row['idaction_name']);
     $row['idaction_name_ref'] = $this->actionMigrator->getNewId($row['idaction_name_ref']);
     $row['idaction_event_category'] = $this->actionMigrator->getNewId($row['idaction_event_category']);
     $row['idaction_event_action'] = $this->actionMigrator->getNewId($row['idaction_event_action']);
 }