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
931B

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