Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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