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.

39 rindas
878B

  1. <?php
  2. namespace domain\Document\Quotation;
  3. use domain\Document\Document\DocumentModule;
  4. use domain\Document\Document\DocumentSolver;
  5. class QuotationModule extends DocumentModule
  6. {
  7. public function getServices(): array
  8. {
  9. return [
  10. QuotationDefinition::class,
  11. DocumentSolver::class,
  12. QuotationRepository::class,
  13. QuotationBuilder::class,
  14. ];
  15. }
  16. public function getDefinition(): QuotationDefinition
  17. {
  18. return QuotationDefinition::getInstance();
  19. }
  20. public function getSolver(): DocumentSolver
  21. {
  22. return DocumentSolver::getInstance();
  23. }
  24. public function getRepository(): QuotationRepository
  25. {
  26. return QuotationRepository::getInstance();
  27. }
  28. public function getBuilder(): QuotationBuilder
  29. {
  30. return QuotationBuilder::getInstance();
  31. }
  32. }