選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

40 行
1023B

  1. <?php
  2. namespace Lc\CaracoleBundle\Container\User;
  3. use Lc\CaracoleBundle\Factory\User\UserMerchantFactory;
  4. use Lc\CaracoleBundle\Repository\User\UserMerchantRepositoryQuery;
  5. use Lc\CaracoleBundle\Repository\User\UserMerchantStore;
  6. class UserMerchantContainer
  7. {
  8. protected UserMerchantFactory $factory;
  9. protected UserMerchantRepositoryQuery $repositoryQuery;
  10. protected UserMerchantStore $store;
  11. public function __construct(
  12. UserMerchantFactory $factory,
  13. UserMerchantRepositoryQuery $repositoryQuery,
  14. UserMerchantStore $store
  15. ) {
  16. $this->factory = $factory;
  17. $this->repositoryQuery = $repositoryQuery;
  18. $this->store = $store;
  19. }
  20. public function getFactory(): UserMerchantFactory
  21. {
  22. return $this->factory;
  23. }
  24. public function getRepositoryQuery(): UserMerchantRepositoryQuery
  25. {
  26. return $this->repositoryQuery;
  27. }
  28. public function getStore(): UserMerchantStore
  29. {
  30. return $this->store;
  31. }
  32. }