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.
2 parents 9c08e87 + d36a10a commit 0a7bdd2Copy full SHA for 0a7bdd2
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