Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

UserUserGroupModule.php 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace common\logic\User\UserUserGroup\Module;
  3. use common\logic\AbstractModule;
  4. use common\logic\User\UserUserGroup\Repository\UserUserGroupRepository;
  5. use common\logic\User\UserUserGroup\Service\UserUserGroupBuilder;
  6. use common\logic\User\UserUserGroup\Service\UserUserGroupDefinition;
  7. /**
  8. * @mixin UserUserGroupDefinition
  9. * @mixin UserUserGroupRepository
  10. * @mixin UserUserGroupBuilder
  11. */
  12. class UserUserGroupModule extends AbstractModule
  13. {
  14. public function getServices(): array
  15. {
  16. return [
  17. UserUserGroupDefinition::class,
  18. UserUserGroupRepository::class,
  19. UserUserGroupBuilder::class
  20. ];
  21. }
  22. public function getDefinition(): UserUserGroupDefinition
  23. {
  24. return UserUserGroupDefinition::getInstance();
  25. }
  26. public function getRepository(): UserUserGroupRepository
  27. {
  28. return UserUserGroupRepository::getInstance();
  29. }
  30. public function getBuilder(): UserUserGroupBuilder
  31. {
  32. return UserUserGroupBuilder::getInstance();
  33. }
  34. }