Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Search.php
Go to the documentation of this file.
1 <?php
8 
12 use Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory as AttributeCollectionFactory;
13 
15 {
26  public function __construct(
27  ContextInterface $context,
28  StateFactory $layerStateFactory,
29  AttributeCollectionFactory $attributeCollectionFactory,
30  \Magento\Catalog\Model\ResourceModel\Product $catalogProduct,
32  \Magento\Framework\Registry $registry,
34  array $data = []
35  ) {
36  parent::__construct(
37  $context,
38  $layerStateFactory,
39  $attributeCollectionFactory,
40  $catalogProduct,
42  $registry,
44  $data
45  );
46  }
47 }
__construct(ContextInterface $context, StateFactory $layerStateFactory, AttributeCollectionFactory $attributeCollectionFactory, \Magento\Catalog\Model\ResourceModel\Product $catalogProduct, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Registry $registry, CategoryRepositoryInterface $categoryRepository, array $data=[])
Definition: Search.php:26
$storeManager