Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

DeliveryNoteModule.php 1011B

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