您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

25 行
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. }