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.

38 lines
821B

  1. <?php
  2. namespace domain\PointSale\PointSale;
  3. use domain\_\AbstractModule;
  4. class PointSaleModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. PointSaleDefinition::class,
  10. PointSaleSolver::class,
  11. PointSaleRepository::class,
  12. PointSaleBuilder::class,
  13. ];
  14. }
  15. public function getDefinition(): PointSaleDefinition
  16. {
  17. return PointSaleDefinition::getInstance();
  18. }
  19. public function getSolver(): PointSaleSolver
  20. {
  21. return PointSaleSolver::getInstance();
  22. }
  23. public function getRepository(): PointSaleRepository
  24. {
  25. return PointSaleRepository::getInstance();
  26. }
  27. public function getBuilder(): PointSaleBuilder
  28. {
  29. return PointSaleBuilder::getInstance();
  30. }
  31. }