/**
  * @param \Psr\Log\LoggerInterface $logger
  * @param \Magento\Framework\Filesystem $filesystem
  * @param \Magento\ImportExport\Model\Export\ConfigInterface $exportConfig
  * @param \Magento\ImportExport\Model\Export\Entity\Factory $entityFactory
  * @param \Magento\ImportExport\Model\Export\Adapter\Factory $exportAdapterFac
  * @param array $data
  */
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\Filesystem $filesystem, \Magento\ImportExport\Model\Export\ConfigInterface $exportConfig, \Magento\ImportExport\Model\Export\Entity\Factory $entityFactory, \Magento\ImportExport\Model\Export\Adapter\Factory $exportAdapterFac, array $data = [])
 {
     $this->_exportConfig = $exportConfig;
     $this->_entityFactory = $entityFactory;
     $this->_exportAdapterFac = $exportAdapterFac;
     parent::__construct($logger, $filesystem, $data);
 }
示例#2
0
 /**
  * @param \Psr\Log\LoggerInterface $logger
  * @param \Magento\Framework\Filesystem $filesystem
  * @param \Magento\ImportExport\Helper\Data $importExportData
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig
  * @param Import\ConfigInterface $importConfig
  * @param Import\Entity\Factory $entityFactory
  * @param \Magento\ImportExport\Model\ResourceModel\Import\Data $importData
  * @param Export\Adapter\CsvFactory $csvFactory
  * @param FileTransferFactory $httpFactory
  * @param \Magento\MediaStorage\Model\File\UploaderFactory $uploaderFactory
  * @param Source\Import\Behavior\Factory $behaviorFactory
  * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry
  * @param History $importHistoryModel
  * @param \Magento\Framework\Stdlib\DateTime\DateTime
  * @param array $data
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\Filesystem $filesystem, \Magento\ImportExport\Helper\Data $importExportData, \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig, \Magento\ImportExport\Model\Import\ConfigInterface $importConfig, \Magento\ImportExport\Model\Import\Entity\Factory $entityFactory, \Magento\ImportExport\Model\ResourceModel\Import\Data $importData, \Magento\ImportExport\Model\Export\Adapter\CsvFactory $csvFactory, \Magento\Framework\HTTP\Adapter\FileTransferFactory $httpFactory, \Magento\MediaStorage\Model\File\UploaderFactory $uploaderFactory, \Magento\ImportExport\Model\Source\Import\Behavior\Factory $behaviorFactory, \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry, \Magento\ImportExport\Model\History $importHistoryModel, \Magento\Framework\Stdlib\DateTime\DateTime $localeDate, array $data = [])
 {
     $this->_importExportData = $importExportData;
     $this->_coreConfig = $coreConfig;
     $this->_importConfig = $importConfig;
     $this->_entityFactory = $entityFactory;
     $this->_importData = $importData;
     $this->_csvFactory = $csvFactory;
     $this->_httpFactory = $httpFactory;
     $this->_uploaderFactory = $uploaderFactory;
     $this->indexerRegistry = $indexerRegistry;
     $this->_behaviorFactory = $behaviorFactory;
     $this->_filesystem = $filesystem;
     $this->importHistoryModel = $importHistoryModel;
     $this->localeDate = $localeDate;
     parent::__construct($logger, $filesystem, $data);
 }
示例#3
0
文件: Import.php 项目: aiesh/magento2
 /**
  * @param \Magento\Framework\Logger $logger
  * @param \Magento\Framework\App\Filesystem $filesystem
  * @param \Magento\Framework\Logger\AdapterFactory $adapterFactory
  * @param \Magento\ImportExport\Helper\Data $importExportData
  * @param \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig
  * @param \Magento\ImportExport\Model\Import\ConfigInterface $importConfig
  * @param \Magento\ImportExport\Model\Import\Entity\Factory $entityFactory
  * @param \Magento\ImportExport\Model\Resource\Import\Data $importData
  * @param \Magento\ImportExport\Model\Export\Adapter\CsvFactory $csvFactory
  * @param \Magento\Framework\HTTP\Adapter\FileTransferFactory $httpFactory
  * @param \Magento\Core\Model\File\UploaderFactory $uploaderFactory
  * @param \Magento\ImportExport\Model\Source\Import\Behavior\Factory $behaviorFactory
  * @param \Magento\Indexer\Model\IndexerFactory $indexerFactory
  * @param array $data
  */
 public function __construct(\Magento\Framework\Logger $logger, \Magento\Framework\App\Filesystem $filesystem, \Magento\Framework\Logger\AdapterFactory $adapterFactory, \Magento\ImportExport\Helper\Data $importExportData, \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig, \Magento\ImportExport\Model\Import\ConfigInterface $importConfig, \Magento\ImportExport\Model\Import\Entity\Factory $entityFactory, \Magento\ImportExport\Model\Resource\Import\Data $importData, \Magento\ImportExport\Model\Export\Adapter\CsvFactory $csvFactory, \Magento\Framework\HTTP\Adapter\FileTransferFactory $httpFactory, \Magento\Core\Model\File\UploaderFactory $uploaderFactory, \Magento\ImportExport\Model\Source\Import\Behavior\Factory $behaviorFactory, \Magento\Indexer\Model\IndexerFactory $indexerFactory, array $data = array())
 {
     $this->_importExportData = $importExportData;
     $this->_coreConfig = $coreConfig;
     $this->_importConfig = $importConfig;
     $this->_entityFactory = $entityFactory;
     $this->_importData = $importData;
     $this->_csvFactory = $csvFactory;
     $this->_httpFactory = $httpFactory;
     $this->_uploaderFactory = $uploaderFactory;
     $this->indexerFactory = $indexerFactory;
     $this->_behaviorFactory = $behaviorFactory;
     $this->_filesystem = $filesystem;
     parent::__construct($logger, $filesystem, $adapterFactory, $data);
 }