Smile\ElasticsuiteCatalog\Model\Layer\Filter\Price::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Catalog\Model\Layer $layer, Magento\Catalog\Model\Layer\Filter\Item\DataBuilder $itemDataBuilder, Magento\Catalog\Model\ResourceModel\Layer\Filter\Price $resource, Magento\Customer\Model\Session $customerSession, Magento\Framework\Search\Dynamic\Algorithm $priceAlgorithm, Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency, Magento\Catalog\Model\Layer\Filter\Dynamic\AlgorithmFactory $algorithmFactory, Magento\Catalog\Model\Layer\Filter\DataProvider\PriceFactory $dataProviderFactory, array $data = [] )
$filterItemFactory Magento\Catalog\Model\Layer\Filter\ItemFactory Item filter facotory.
$storeManager Magento\Store\Model\StoreManagerInterface Store manager.
$layer Magento\Catalog\Model\Layer Search layer.
$itemDataBuilder Magento\Catalog\Model\Layer\Filter\Item\DataBuilder Item data builder.
$resource Magento\Catalog\Model\ResourceModel\Layer\Filter\Price Price resource.
$customerSession Magento\Customer\Model\Session Customer session.
$priceAlgorithm Magento\Framework\Search\Dynamic\Algorithm Price algorithm.
$priceCurrency Magento\Framework\Pricing\PriceCurrencyInterface Price currency.
$algorithmFactory Magento\Catalog\Model\Layer\Filter\Dynamic\AlgorithmFactory Algorithm factory.
$dataProviderFactory Magento\Catalog\Model\Layer\Filter\DataProvider\PriceFactory Data provider.
$data array Custom data.
    public function __construct(\Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Catalog\Model\Layer $layer, \Magento\Catalog\Model\Layer\Filter\Item\DataBuilder $itemDataBuilder, \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price $resource, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\Search\Dynamic\Algorithm $priceAlgorithm, \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency, \Magento\Catalog\Model\Layer\Filter\Dynamic\AlgorithmFactory $algorithmFactory, \Magento\Catalog\Model\Layer\Filter\DataProvider\PriceFactory $dataProviderFactory, array $data = [])
    {
        parent::__construct($filterItemFactory, $storeManager, $layer, $itemDataBuilder, $resource, $customerSession, $priceAlgorithm, $priceCurrency, $algorithmFactory, $dataProviderFactory, $data);
        $this->dataProvider = $dataProviderFactory->create(['layer' => $this->getLayer()]);
        $this->customerSession = $customerSession;
        $this->priceCurrency = $priceCurrency;
    }