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.

49 satır
1.3KB

  1. <?php
  2. namespace Lc\SovBundle\Container\Ticket;
  3. use Lc\SovBundle\Builder\Ticket\TicketMessageBuilder;
  4. use Lc\SovBundle\Factory\Ticket\TicketMessageFactory;
  5. use Lc\SovBundle\Repository\Ticket\TicketMessageRepositoryQuery;
  6. use Lc\SovBundle\Repository\Ticket\TicketMessageStore;
  7. class TicketMessageContainer
  8. {
  9. protected TicketMessageFactory $factory;
  10. protected TicketMessageRepositoryQuery $repositoryQuery;
  11. protected TicketMessageStore $store;
  12. protected TicketMessageBuilder $builder;
  13. public function __construct(
  14. TicketMessageFactory $factory,
  15. TicketMessageRepositoryQuery $repositoryQuery,
  16. TicketMessageStore $store,
  17. TicketMessageBuilder $builder
  18. ) {
  19. $this->factory = $factory;
  20. $this->repositoryQuery = $repositoryQuery;
  21. $this->store = $store;
  22. $this->builder = $builder;
  23. }
  24. public function getFactory(): TicketMessageFactory
  25. {
  26. return $this->factory;
  27. }
  28. public function getRepositoryQuery(): TicketMessageRepositoryQuery
  29. {
  30. return $this->repositoryQuery;
  31. }
  32. public function getStore(): TicketMessageStore
  33. {
  34. return $this->store;
  35. }
  36. public function getBuilder(): TicketMessageBuilder
  37. {
  38. return $this->builder;
  39. }
  40. }