Skip to content

Commit 85a06a4

Browse files
authored
ENGCOM-3332: Added $_customerCollection property to Storage class #144
2 parents 9bcea45 + bfd78dc commit 85a06a4

File tree

1 file changed

+10
-0
lines changed
  • app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer

1 file changed

+10
-0
lines changed

app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer/Storage.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
use Magento\ImportExport\Model\ResourceModel\CollectionByPagesIteratorFactory;
1414
use Magento\ImportExport\Model\ResourceModel\CollectionByPagesIterator;
1515

16+
/**
17+
* Storage to check existing customers.
18+
*/
1619
class Storage
1720
{
1821
/**
@@ -48,6 +51,11 @@ class Storage
4851
*/
4952
private $customerCollectionFactory;
5053

54+
/**
55+
* @var CustomerCollection
56+
*/
57+
public $_customerCollection;
58+
5159
/**
5260
* @param CustomerCollectionFactory $collectionFactory
5361
* @param CollectionByPagesIteratorFactory $colIteratorFactory
@@ -112,6 +120,8 @@ private function loadCustomersData(array $customerIdentifiers)
112120
}
113121

114122
/**
123+
* Add a customer by an array
124+
*
115125
* @param array $customer
116126
* @return $this
117127
*/

0 commit comments

Comments
 (0)