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.

24 lines
422B

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