Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

TicketMessageContainer.php 1.4KB

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