You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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