| @@ 50-62 (lines=13) @@ | ||
| 47 | * @param \Magento\Framework\Data\Collection\AbstractDb|null $resourceCollection |
|
| 48 | * @param array $data |
|
| 49 | */ |
|
| 50 | public function __construct( |
|
| 51 | \Magento\Framework\Model\Context $context, |
|
| 52 | \Magento\Framework\Registry $registry, |
|
| 53 | \Magento\Framework\App\Config\ScopeConfigInterface $config, |
|
| 54 | \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList, |
|
| 55 | \Payone\Core\Helper\Base $baseHelper, |
|
| 56 | \Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, |
|
| 57 | \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, |
|
| 58 | array $data = [] |
|
| 59 | ) { |
|
| 60 | parent::__construct($context, $registry, $config, $cacheTypeList, $resource, $resourceCollection, $data); |
|
| 61 | $this->baseHelper = $baseHelper; |
|
| 62 | } |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @return void |
|
| @@ 54-64 (lines=11) @@ | ||
| 51 | * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection |
|
| 52 | * @param array $data |
|
| 53 | */ |
|
| 54 | public function __construct( |
|
| 55 | \Magento\Framework\Model\Context $context, |
|
| 56 | \Magento\Framework\Registry $registry, |
|
| 57 | \Payone\Core\Helper\Toolkit $toolkitHelper, |
|
| 58 | \Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, |
|
| 59 | \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, |
|
| 60 | array $data = [] |
|
| 61 | ) { |
|
| 62 | parent::__construct($context, $registry, $resource, $resourceCollection, $data); |
|
| 63 | $this->toolkitHelper = $toolkitHelper; |
|
| 64 | } |
|
| 65 | ||
| 66 | /** |
|
| 67 | * Initialize resource model |
|