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.

31 lines
621B

  1. <?php
  2. namespace common\logic\Document\DeliveryNote;
  3. use common\logic\ContainerInterface;
  4. class DeliveryNoteContainer implements ContainerInterface
  5. {
  6. public function getEntityFqcn(): string
  7. {
  8. return DeliveryNote::class;
  9. }
  10. public function getServices(): array
  11. {
  12. return [
  13. DeliveryNoteBuilder::class,
  14. DeliveryNoteSolver::class,
  15. ];
  16. }
  17. public function getFactory(): DeliveryNoteBuilder
  18. {
  19. return new DeliveryNoteBuilder();
  20. }
  21. public function getSolver(): DeliveryNoteSolver
  22. {
  23. return new DeliveryNoteSolver();
  24. }
  25. }