您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

38 行
847B

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