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.

TaxRateModule.php 651B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace domain\Config\TaxRate;
  3. use domain\_\AbstractModule;
  4. class TaxRateModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. TaxRateDefinition::class,
  10. TaxRateBuilder::class,
  11. TaxRateRepository::class,
  12. ];
  13. }
  14. public function getDefinition(): TaxRateDefinition
  15. {
  16. return TaxRateDefinition::getInstance();
  17. }
  18. public function getBuilder(): TaxRateBuilder
  19. {
  20. return TaxRateBuilder::getInstance();
  21. }
  22. public function getRepository(): TaxRateRepository
  23. {
  24. return TaxRateRepository::getInstance();
  25. }
  26. }