public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Praxigento\BonusBase\Repo\Entity\ICalculation $repoCalc, \Praxigento\BonusBase\Repo\Entity\IPeriod $repoPeriod, \Praxigento\Core\Tool\IDate $toolDate)
 {
     parent::__construct($resource);
     $this->_repoCalc = $repoCalc;
     $this->_repoPeriod = $repoPeriod;
     $this->_toolDate = $toolDate;
 }
 public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Core\Repo\IGeneric $repoBasic, BonusLoyaltyRepo $repoBonusLoyalty, \Praxigento\BonusBase\Repo\Entity\Log\IRank $repoBonusLogRank, \Praxigento\Core\Tool\IPeriod $toolPeriod)
 {
     parent::__construct($resource);
     $this->_manTrans = $manTrans;
     $this->_repoBasic = $repoBasic;
     $this->_repoBonusLoyalty = $repoBonusLoyalty;
     $this->_repoBonusLogRank = $repoBonusLogRank;
     $this->_toolPeriod = $toolPeriod;
 }
 public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Praxigento\Core\Transaction\Database\IManager $manTrans, \Praxigento\Core\Repo\IGeneric $repoBasic, \Praxigento\BonusBase\Repo\Entity\Cfg\IGeneration $repoBonusCfgGen, \Praxigento\BonusBase\Repo\Entity\Log\ISales $repoLogSales, \Praxigento\BonusBase\Repo\Entity\Type\ICalc $repoTypeCalc, \Praxigento\Core\Tool\IPeriod $toolPeriod)
 {
     parent::__construct($resource);
     $this->_manTrans = $manTrans;
     $this->_repoBasic = $repoBasic;
     $this->_repoBonusCfgGen = $repoBonusCfgGen;
     $this->_repoLogSales = $repoLogSales;
     $this->_repoTypeCalc = $repoTypeCalc;
     $this->_toolPeriod = $toolPeriod;
 }
 /**
  * Scheme constructor.
  */
 public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Praxigento\Core\Repo\IGeneric $repoGeneric)
 {
     parent::__construct($resource);
     $this->_repoBasic = $repoGeneric;
 }
예제 #5
0
 public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Praxigento\Accounting\Repo\Entity\Type\IAsset $repoTypeAsset)
 {
     parent::__construct($resource);
     $this->_repoTypeAsset = $repoTypeAsset;
 }
 public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Praxigento\Core\Repo\IGeneric $repoGeneric, \Praxigento\Accounting\Repo\Entity\IAccount $repoAccount)
 {
     parent::__construct($resource);
     $this->_repoGeneric = $repoGeneric;
     $this->_repoAccount = $repoAccount;
 }