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.

TicketUserContainer.php 905B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace common\logic\Ticket\TicketUser\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\Ticket\TicketUser\Repository\TicketUserRepository;
  5. use common\logic\Ticket\TicketUser\Service\TicketUserBuilder;
  6. use common\logic\Ticket\TicketUser\Service\TicketUserDefinition;
  7. class TicketUserContainer extends AbstractContainer
  8. {
  9. public function getServices(): array
  10. {
  11. return [
  12. TicketUserDefinition::class,
  13. TicketUserRepository::class,
  14. TicketUserBuilder::class
  15. ];
  16. }
  17. public function getDefinition(): TicketUserDefinition
  18. {
  19. return TicketUserDefinition::getInstance();
  20. }
  21. public function getRepository(): TicketUserRepository
  22. {
  23. return TicketUserRepository::getInstance();
  24. }
  25. public function getBuilder(): TicketUserBuilder
  26. {
  27. return TicketUserBuilder::getInstance();
  28. }
  29. }