Exemplo n.º 1
0
 public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeCollectionFactory, \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory, \Magento\Catalog\Model\Product\Visibility $catalogProductVisibility)
 {
     parent::__construct($objectManager, $localeDate, $storeManager);
     $this->attributeCollectionFactory = $attributeCollectionFactory;
     $this->productCollectionFactory = $productCollectionFactory;
     $this->catalogProductVisibility = $catalogProductVisibility;
 }
Exemplo n.º 2
0
 public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Config\Model\Config\Factory $configFactory)
 {
     parent::__construct($objectManager, $localeDate, $storeManager);
     $this->configFactory = $configFactory;
 }
Exemplo n.º 3
0
 public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory $attributeFactory, \Magento\Catalog\Helper\Product $productHelper)
 {
     parent::__construct($objectManager, $localeDate, $storeManager);
     $this->attributeFactory = $attributeFactory;
     $this->productHelper = $productHelper;
 }
Exemplo n.º 4
0
 public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Framework\App\Config\Storage\WriterInterface $configWriter)
 {
     parent::__construct($objectManager, $localeDate, $storeManager);
     $this->scopeConfig = $scopeConfig;
     $this->configWriter = $configWriter;
 }