示例#1
0
 public function __construct(\Magento\Sales\Model\ResourceModel\Order\Payment\Transaction\CollectionFactory $transactionCollectionFactory, \Magento\Sales\Model\ResourceModel\Order\Creditmemo\CollectionFactory $creditmemoCollectionFactory, \Magento\Sales\Model\ResourceModel\Order\Shipment\CollectionFactory $shipmentCollectionFactory, \Magento\Sales\Model\ResourceModel\Order\Invoice\CollectionFactory $invoiceCollectionFactory, \Magento\Catalog\Model\CategoryFactory $categoryFactory, \Magento\Eav\Model\Entity\Attribute\SetFactory $attributeSetFactory, \Magento\Catalog\Model\ProductFactory $productFactory, \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeCollection, \Magento\Framework\Module\ModuleListInterface $moduleList, \Magento\Eav\Model\Config $config, \Magento\Store\Model\StoreManagerInterface $storeManager, \Ess\M2ePro\Model\Config\Manager\Synchronization $synchronizationConfig, \Ess\M2ePro\Model\Config\Manager\Cache $cacheConfig, \Ess\M2ePro\Model\Factory $modelFactory, \Ess\M2ePro\Helper\Factory $helperFactory, \Magento\Framework\App\ResourceConnection $resource, \Ess\M2ePro\Model\ActiveRecord\Factory $activeRecordFactory, \Ess\M2ePro\Model\ActiveRecord\Component\Parent\Factory $parentFactory)
 {
     $this->transactionCollectionFactory = $transactionCollectionFactory;
     $this->creditmemoCollectionFactory = $creditmemoCollectionFactory;
     $this->shipmentCollectionFactory = $shipmentCollectionFactory;
     $this->invoiceCollectionFactory = $invoiceCollectionFactory;
     $this->categoryFactory = $categoryFactory;
     $this->attributeSetFactory = $attributeSetFactory;
     $this->productFactory = $productFactory;
     $this->attributeCollection = $attributeCollection;
     $this->moduleList = $moduleList;
     $this->synchronizationConfig = $synchronizationConfig;
     parent::__construct($config, $cacheConfig, $storeManager, $modelFactory, $helperFactory, $resource, $activeRecordFactory, $parentFactory);
 }
示例#2
0
 public function __construct(\Magento\Eav\Model\Config $config, \Ess\M2ePro\Model\Config\Manager\Cache $cacheConfig, \Magento\Store\Model\StoreManagerInterface $storeManager, \Ess\M2ePro\Model\Factory $modelFactory, \Ess\M2ePro\Helper\Factory $helperFactory, \Magento\Framework\App\ResourceConnection $resource, \Ess\M2ePro\Model\ActiveRecord\Factory $activeRecordFactory, \Ess\M2ePro\Model\ActiveRecord\Component\Parent\Factory $parentFactory)
 {
     parent::__construct($config, $cacheConfig, $storeManager, $modelFactory, $helperFactory, $resource, $activeRecordFactory, $parentFactory);
     $this->backup = $this->modelFactory->getCachedObject('Servicing\\Task\\Backups\\Manager');
 }
示例#3
0
 public function __construct(\Ess\M2ePro\Model\Config\Manager\Primary $primaryConfig, \Magento\Eav\Model\Config $config, \Ess\M2ePro\Model\Config\Manager\Cache $cacheConfig, \Magento\Store\Model\StoreManagerInterface $storeManager, \Ess\M2ePro\Model\Factory $modelFactory, \Ess\M2ePro\Helper\Factory $helperFactory, \Magento\Framework\App\ResourceConnection $resource, \Ess\M2ePro\Model\ActiveRecord\Factory $activeRecordFactory, \Ess\M2ePro\Model\ActiveRecord\Component\Parent\Factory $parentFactory)
 {
     $this->primaryConfig = $primaryConfig;
     parent::__construct($config, $cacheConfig, $storeManager, $modelFactory, $helperFactory, $resource, $activeRecordFactory, $parentFactory);
 }