You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 satır
477B

  1. <?php
  2. namespace common\logic\Config\TaxRate\Service;
  3. use common\logic\AbstractBuilder;
  4. use common\logic\Config\TaxRate\Model\TaxRate;
  5. class TaxRateBuilder extends AbstractBuilder
  6. {
  7. public function instanciateTaxRate(): TaxRate
  8. {
  9. $taxRate = new TaxRate();
  10. return $taxRate;
  11. }
  12. public function createTaxRate(): TaxRate
  13. {
  14. $taxRate = $this->instanciateTaxRate();
  15. $this->saveCreate($taxRate);
  16. return $taxRate;
  17. }
  18. }