選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

TicketMessageContainer.php 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. }