Skip to content

Commit

Permalink
Added _customerCollection property as public
Browse files Browse the repository at this point in the history
  • Loading branch information
maxalmonte14 committed Nov 10, 2018
1 parent e973095 commit 2d45eb3
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ class Storage
*/
private $customerCollectionFactory;

/**
* @var CustomerCollection
*/
public $_customerCollection;

/**
* @param CustomerCollectionFactory $collectionFactory
* @param CollectionByPagesIteratorFactory $colIteratorFactory
Expand All @@ -58,6 +63,9 @@ public function __construct(
CollectionByPagesIteratorFactory $colIteratorFactory,
array $data = []
) {
$this->_customerCollection = isset(
$data['customer_collection']
) ? $data['customer_collection'] : $collectionFactory->create();
$this->_pageSize = isset($data['page_size']) ? $data['page_size'] : 0;
$this->_byPagesIterator = isset(
$data['collection_by_pages_iterator']
Expand Down

0 comments on commit 2d45eb3

Please sign in to comment.