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

TaxRateContainer.php 776B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace common\logic\Config\TaxRate\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\Config\TaxRate\Model\TaxRate;
  5. use common\logic\Config\TaxRate\Repository\TaxRateRepository;
  6. use common\logic\Config\TaxRate\Service\TaxRateBuilder;
  7. class TaxRateContainer extends AbstractContainer
  8. {
  9. public function getEntityFqcn(): string
  10. {
  11. return TaxRate::class;
  12. }
  13. public function getServices(): array
  14. {
  15. return [
  16. TaxRateBuilder::class,
  17. TaxRateRepository::class,
  18. ];
  19. }
  20. public function getBuilder(): TaxRateBuilder
  21. {
  22. return TaxRateBuilder::getInstance();
  23. }
  24. public function getRepository(): TaxRateRepository
  25. {
  26. return TaxRateRepository::getInstance();
  27. }
  28. }