您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

32 行
683B

  1. <?php
  2. namespace domain\Ticket\TicketUser;
  3. use domain\_\AbstractModule;
  4. class TicketUserModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. TicketUserDefinition::class,
  10. TicketUserRepository::class,
  11. TicketUserBuilder::class
  12. ];
  13. }
  14. public function getDefinition(): TicketUserDefinition
  15. {
  16. return TicketUserDefinition::getInstance();
  17. }
  18. public function getRepository(): TicketUserRepository
  19. {
  20. return TicketUserRepository::getInstance();
  21. }
  22. public function getBuilder(): TicketUserBuilder
  23. {
  24. return TicketUserBuilder::getInstance();
  25. }
  26. }