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.

UserMerchantContainer.php 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. namespace Lc\CaracoleBundle\Container\User;
  3. use Lc\CaracoleBundle\Builder\User\UserMerchantBuilder;
  4. use Lc\CaracoleBundle\Factory\User\UserMerchantFactory;
  5. use Lc\CaracoleBundle\Repository\User\UserMerchantRepositoryQuery;
  6. use Lc\CaracoleBundle\Repository\User\UserMerchantStore;
  7. use Lc\CaracoleBundle\Solver\User\UserMerchantSolver;
  8. class UserMerchantContainer
  9. {
  10. protected UserMerchantFactory $factory;
  11. protected UserMerchantSolver $solver;
  12. protected UserMerchantRepositoryQuery $repositoryQuery;
  13. protected UserMerchantStore $store;
  14. protected UserMerchantBuilder $builder;
  15. public function __construct(
  16. UserMerchantFactory $factory,
  17. UserMerchantSolver $solver,
  18. UserMerchantRepositoryQuery $repositoryQuery,
  19. UserMerchantStore $store,
  20. UserMerchantBuilder $builder
  21. ) {
  22. $this->factory = $factory;
  23. $this->solver = $solver;
  24. $this->repositoryQuery = $repositoryQuery;
  25. $this->store = $store;
  26. $this->builder = $builder;
  27. }
  28. public function getFactory(): UserMerchantFactory
  29. {
  30. return $this->factory;
  31. }
  32. public function getSolver(): UserMerchantSolver
  33. {
  34. return $this->solver;
  35. }
  36. public function getRepositoryQuery(): UserMerchantRepositoryQuery
  37. {
  38. return $this->repositoryQuery;
  39. }
  40. public function getStore(): UserMerchantStore
  41. {
  42. return $this->store;
  43. }
  44. public function getBuilder(): UserMerchantBuilder
  45. {
  46. return $this->builder;
  47. }
  48. }