Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

45 linhas
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. }