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.

GroupUserContainer.php 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace Lc\SovBundle\Container\User;
  3. use App\Entity\User\GroupUser;
  4. use Lc\SovBundle\Factory\User\GroupUserFactory;
  5. use Lc\SovBundle\Repository\User\GroupUserRepositoryQuery;
  6. use Lc\SovBundle\Repository\User\GroupUserStore;
  7. class GroupUserContainer
  8. {
  9. protected GroupUserFactory $factory;
  10. protected GroupUserRepositoryQuery $repositoryQuery;
  11. protected GroupUserStore $store;
  12. public function __construct(
  13. GroupUserFactory $factory,
  14. GroupUserRepositoryQuery $repositoryQuery,
  15. GroupUserStore $store
  16. ) {
  17. $this->factory = $factory;
  18. $this->repositoryQuery = $repositoryQuery;
  19. $this->store = $store;
  20. }
  21. public static function getEntityFqcn()
  22. {
  23. return GroupUser::class;
  24. }
  25. public function getFactory(): GroupUserFactory
  26. {
  27. return $this->factory;
  28. }
  29. public function getRepositoryQuery(): GroupUserRepositoryQuery
  30. {
  31. return $this->repositoryQuery;
  32. }
  33. public function getStore(): GroupUserStore
  34. {
  35. return $this->store;
  36. }
  37. }