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.

UserGroupContainer.php 880B

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