/** * @param \Magento\Framework\App\Resource $resource * @param string $modulePrefix */ public function __construct(\Magento\Framework\App\Resource $resource, $modulePrefix = 'importexport') { parent::__construct($resource, $modulePrefix); }
/** * Construct * * @param \Magento\Framework\App\ResourceConnection $resource * @param string $modulePrefix * @codeCoverageIgnore */ public function __construct(\Magento\Framework\App\ResourceConnection $resource, $modulePrefix = 'Magento_Eav') { parent::__construct($resource, $modulePrefix); }
/** * @param \Magento\Framework\App\Resource $resource * @param string $modulePrefix * @param \Magento\Framework\Stdlib\DateTime\DateTime $coreDate */ public function __construct(\Magento\Framework\App\Resource $resource, $modulePrefix, \Magento\Framework\Stdlib\DateTime\DateTime $coreDate) { parent::__construct($resource, $modulePrefix); $this->_coreDate = $coreDate; }
/** * @param \Magento\Framework\App\ResourceConnection $resource * @param \Magento\Reports\Model\ResourceModel\Helper $reportsResourceHelper * @param string $modulePrefix */ public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Magento\Reports\Model\ResourceModel\Helper $reportsResourceHelper, $modulePrefix = 'sales') { parent::__construct($resource, $modulePrefix); $this->_reportsResourceHelper = $reportsResourceHelper; }
/** * @param \Magento\Framework\App\Resource $resource * @param string $modulePrefix */ public function __construct(\Magento\Framework\App\Resource $resource, $modulePrefix = 'Magento_Search') { parent::__construct($resource, $modulePrefix); }