detectedCount = $detectedCount; $this->importedCount = $importedCount; $this->updatedCount = $updatedCount; } /** * Pending candidates detected before import. */ public function detectedCount(): int { return $this->detectedCount; } /** * Newly-created product rows. */ public function importedCount(): int { return $this->importedCount; } /** * Updated product rows. */ public function updatedCount(): int { return $this->updatedCount; } /** * Total created or updated rows. */ public function mutatedCount(): int { return $this->importedCount + $this->updatedCount; } }