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

44 行
1011B

  1. <?php
  2. namespace domain\Document\DeliveryNote;
  3. use domain\Document\Document\DocumentModule;
  4. /**
  5. * @mixin DeliveryNoteDefinition
  6. * @mixin DeliveryNoteSolver
  7. * @mixin DeliveryNoteRepository
  8. * @mixin DeliveryNoteBuilder
  9. */
  10. class DeliveryNoteModule extends DocumentModule
  11. {
  12. public function getServices(): array
  13. {
  14. return [
  15. DeliveryNoteDefinition::class,
  16. DeliveryNoteSolver::class,
  17. DeliveryNoteRepository::class,
  18. DeliveryNoteBuilder::class,
  19. ];
  20. }
  21. public function getDefinition(): DeliveryNoteDefinition
  22. {
  23. return DeliveryNoteDefinition::getInstance();
  24. }
  25. public function getSolver(): DeliveryNoteSolver
  26. {
  27. return DeliveryNoteSolver::getInstance();
  28. }
  29. public function getRepository(): DeliveryNoteRepository
  30. {
  31. return DeliveryNoteRepository::getInstance();
  32. }
  33. public function getBuilder(): DeliveryNoteBuilder
  34. {
  35. return DeliveryNoteBuilder::getInstance();
  36. }
  37. }