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.

45 lines
1.1KB

  1. <?php
  2. namespace domain\PointSale\SharedPointSale;
  3. use domain\_\AbstractModule;
  4. class SharedPointSaleModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. SharedPointSaleDefinition::class,
  10. SharedPointSaleBuilder::class,
  11. SharedPointSaleRepository::class,
  12. SharedPointSaleResolver::class,
  13. SharedPointSaleManager::class
  14. ];
  15. }
  16. public function getDefinition(): SharedPointSaleDefinition
  17. {
  18. return SharedPointSaleDefinition::getInstance();
  19. }
  20. public function getBuilder(): SharedPointSaleBuilder
  21. {
  22. return SharedPointSaleBuilder::getInstance();
  23. }
  24. public function getRepository(): SharedPointSaleRepository
  25. {
  26. return SharedPointSaleRepository::getInstance();
  27. }
  28. public function getResolver(): SharedPointSaleResolver
  29. {
  30. return SharedPointSaleResolver::getInstance();
  31. }
  32. public function getManager(): SharedPointSaleManager
  33. {
  34. return SharedPointSaleManager::getInstance();
  35. }
  36. }