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.

35 satır
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. }