Smile\ElasticsuiteCatalog\Model\Autocomplete\Category\ItemFactory::__construct PHP Method

__construct() public method

ItemFactory constructor.
public __construct ( Magento\Framework\ObjectManagerInterface $objectManager, Magento\Framework\UrlInterface $urlBuilder, Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, Magento\Catalog\Model\ResourceModel\Category $categoryResource )
$objectManager Magento\Framework\ObjectManagerInterface The Object Manager
$urlBuilder Magento\Framework\UrlInterface The Url Builder
$scopeConfig Magento\Framework\App\Config\ScopeConfigInterface The Scope Config
$categoryResource Magento\Catalog\Model\ResourceModel\Category Category Resource Model
    public function __construct(ObjectManagerInterface $objectManager, UrlInterface $urlBuilder, ScopeConfigInterface $scopeConfig, CategoryResource $categoryResource)
    {
        parent::__construct($objectManager);
        $this->urlBuilder = $urlBuilder;
        $this->categoryUrlSuffix = $scopeConfig->getValue(self::XML_PATH_CATEGORY_URL_SUFFIX);
        $this->categoryResource = $categoryResource;
    }