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.

41 rinda
1019B

  1. <?php
  2. namespace common\logic\Document\Quotation\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\Document\Document\Service\DocumentSolver;
  5. use common\logic\Document\Quotation\Model\Quotation;
  6. use common\logic\Document\Quotation\Repository\QuotationRepository;
  7. use common\logic\Document\Quotation\Service\QuotationBuilder;
  8. class QuotationContainer extends AbstractContainer
  9. {
  10. public function getEntityFqcn(): string
  11. {
  12. return Quotation::class;
  13. }
  14. public function getServices(): array
  15. {
  16. return [
  17. DocumentSolver::class,
  18. QuotationRepository::class,
  19. QuotationBuilder::class,
  20. ];
  21. }
  22. public function getSolver(): DocumentSolver
  23. {
  24. return DocumentSolver::getInstance();
  25. }
  26. public function getRepository(): QuotationRepository
  27. {
  28. return QuotationRepository::getInstance();
  29. }
  30. public function getBuilder(): QuotationBuilder
  31. {
  32. return QuotationBuilder::getInstance();
  33. }
  34. }