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.

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