Smile\ElasticsuiteCatalog\Controller\Navigation\Filter\Ajax::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Magento\Framework\App\Action\Context $context, Magento\Framework\Controller\Result\JsonFactory $jsonResultFactory, Magento\Catalog\Model\Layer\Resolver $layerResolver, Magento\Catalog\Model\Layer\FilterList[] $filterListPool = [] )
$context Magento\Framework\App\Action\Context Controller action context.
$jsonResultFactory Magento\Framework\Controller\Result\JsonFactory JSON result factory.
$layerResolver Magento\Catalog\Model\Layer\Resolver Layer resolver.
$filterListPool Magento\Catalog\Model\Layer\FilterList[] Filter list pool.
    public function __construct(\Magento\Framework\App\Action\Context $context, \Magento\Framework\Controller\Result\JsonFactory $jsonResultFactory, \Magento\Catalog\Model\Layer\Resolver $layerResolver, $filterListPool = [])
    {
        parent::__construct($context);
        $this->jsonResultFactory = $jsonResultFactory;
        $this->layerResolver = $layerResolver;
        $this->filterListPool = $filterListPool;
    }