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.

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. }