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

35 行
855B

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