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
412B

  1. <?php
  2. namespace domain\Config\TaxRate;
  3. use domain\_\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. }