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 lines
797B

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