/** * Retrieve item colleciton * * @param \Magento\Catalog\Model\Category $category * @return \Magento\CatalogSearch\Model\Resource\Advanced\Collection */ public function getCollection(\Magento\Catalog\Model\Category $category) { return $this->advancedCollectionFactory->create(); }
/** * Retrieve advanced search result data collection * * @return \Magento\CatalogSearch\Model\Resource\Advanced\Collection */ public function getAdvancedResultCollection() { return $this->_catalogSearchAdvancedCollectionFactory->create(); }