21 protected $_template =
'Magento_Reports::report/wishlist.phtml';
42 $this->_wishlistFactory = $wishlistFactory;
43 parent::__construct($context,
$data);
58 list($customerWithWishlist, $wishlistsCount) =
$collection->getWishlistCustomerCount();
59 $this->setCustomerWithWishlist($customerWithWishlist);
60 $this->setWishlistsCount($wishlistsCount);
61 $this->setItemsBought(0);
62 $this->setSharedCount(
$collection->getSharedCount());
63 $this->setReferralsCount(0);
64 $this->setConversionsCount(0);
__construct(\Magento\Backend\Block\Template\Context $context, \Magento\Reports\Model\ResourceModel\Wishlist\CollectionFactory $wishlistFactory, array $data=[])