您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

49 行
1.1KB

  1. <?php
  2. namespace Lc\SovBundle\Container\User;
  3. use Lc\SovBundle\Builder\User\UserBuilder;
  4. use Lc\SovBundle\Factory\User\UserFactory;
  5. use Lc\SovBundle\Repository\User\UserRepositoryQuery;
  6. use Lc\SovBundle\Repository\User\UserStore;
  7. class UserContainer
  8. {
  9. protected UserFactory $factory;
  10. protected UserBuilder $builder;
  11. protected UserRepositoryQuery $repositoryQuery;
  12. protected UserStore $store;
  13. public function __construct(
  14. UserFactory $factory,
  15. UserBuilder $builder,
  16. UserRepositoryQuery $repositoryQuery,
  17. UserStore $store
  18. ) {
  19. $this->factory = $factory;
  20. $this->builder = $builder;
  21. $this->repositoryQuery = $repositoryQuery;
  22. $this->store = $store;
  23. }
  24. public function getFactory(): UserFactory
  25. {
  26. return $this->factory;
  27. }
  28. public function getBuilder(): UserBuilder
  29. {
  30. return $this->builder;
  31. }
  32. public function getRepositoryQuery(): UserRepositoryQuery
  33. {
  34. return $this->repositoryQuery;
  35. }
  36. public function getStore(): UserStore
  37. {
  38. return $this->store;
  39. }
  40. }