File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ class Storage
48
48
*/
49
49
private $ customerCollectionFactory ;
50
50
51
+ /**
52
+ * @var CustomerCollection
53
+ */
54
+ public $ _customerCollection ;
55
+
51
56
/**
52
57
* @param CustomerCollectionFactory $collectionFactory
53
58
* @param CollectionByPagesIteratorFactory $colIteratorFactory
@@ -58,6 +63,9 @@ public function __construct(
58
63
CollectionByPagesIteratorFactory $ colIteratorFactory ,
59
64
array $ data = []
60
65
) {
66
+ $ this ->_customerCollection = isset (
67
+ $ data ['customer_collection ' ]
68
+ ) ? $ data ['customer_collection ' ] : $ collectionFactory ->create ();
61
69
$ this ->_pageSize = isset ($ data ['page_size ' ]) ? $ data ['page_size ' ] : 0 ;
62
70
$ this ->_byPagesIterator = isset (
63
71
$ data ['collection_by_pages_iterator ' ]
You can’t perform that action at this time.
0 commit comments