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

UserUserGroupModule.php 714B

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