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.

35 line
948B

  1. <?php
  2. namespace common\logic\User\UserUserGroup\Wrapper;
  3. use common\logic\AbstractContainer;
  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. class UserUserGroupContainer extends AbstractContainer
  8. {
  9. public function getServices(): array
  10. {
  11. return [
  12. UserUserGroupDefinition::class,
  13. UserUserGroupRepository::class,
  14. UserUserGroupBuilder::class
  15. ];
  16. }
  17. public function getDefinition(): UserUserGroupDefinition
  18. {
  19. return UserUserGroupDefinition::getInstance();
  20. }
  21. public function getRepository(): UserUserGroupRepository
  22. {
  23. return UserUserGroupRepository::getInstance();
  24. }
  25. public function getBuilder(): UserUserGroupBuilder
  26. {
  27. return UserUserGroupBuilder::getInstance();
  28. }
  29. }