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

38 行
876B

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