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.

34 line
857B

  1. <?php
  2. namespace common\logic\User\UserUserGroup\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\User\UserUserGroup\Model\UserUserGroup;
  5. use common\logic\User\UserUserGroup\Repository\UserUserGroupRepository;
  6. use common\logic\User\UserUserGroup\Service\UserUserGroupBuilder;
  7. class UserUserGroupContainer extends AbstractContainer
  8. {
  9. public function getEntityFqcn(): string
  10. {
  11. return UserUserGroup::class;
  12. }
  13. public function getServices(): array
  14. {
  15. return [
  16. UserUserGroupRepository::class,
  17. UserUserGroupBuilder::class
  18. ];
  19. }
  20. public function getRepository(): UserUserGroupRepository
  21. {
  22. return UserUserGroupRepository::getInstance();
  23. }
  24. public function getBuilder(): UserUserGroupBuilder
  25. {
  26. return UserUserGroupBuilder::getInstance();
  27. }
  28. }