We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c08e87 commit d36a10aCopy full SHA for d36a10a
Model/Importer.php
@@ -53,6 +53,7 @@ public function __construct(
53
*/
54
public function processImport(array $dataArray): void
55
{
56
+ $this->resetImportModel();
57
$this->validateData($dataArray);
58
$this->importData();
59
}
@@ -111,6 +112,11 @@ public function getImportModel(): Import
111
112
return $this->importModel;
113
114
115
+ private function resetImportModel(): void
116
+ {
117
+ $this->importModel = null;
118
+ }
119
+
120
public function getErrorAggregator(): ProcessingErrorAggregatorInterface
121
122
return $this->getImportModel()->getErrorAggregator();
0 commit comments