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.

31 lines
590B

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