Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

48 lines
1.3KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Setting;
  3. use Lc\CaracoleBundle\Definition\MerchantSettingDefinition;
  4. use Lc\CaracoleBundle\Factory\Setting\MerchantSettingFactory;
  5. use Lc\CaracoleBundle\Repository\Setting\MerchantSettingRepositoryQuery;
  6. use Lc\CaracoleBundle\Repository\Setting\MerchantSettingStore;
  7. class MerchantSettingContainer
  8. {
  9. protected MerchantSettingFactory $factory;
  10. protected MerchantSettingDefinition $definition;
  11. protected MerchantSettingRepositoryQuery $repositoryQuery;
  12. protected MerchantSettingStore $store;
  13. public function __construct(
  14. MerchantSettingFactory $factory,
  15. MerchantSettingDefinition $definition,
  16. MerchantSettingRepositoryQuery $repositoryQuery,
  17. MerchantSettingStore $store
  18. ) {
  19. $this->factory = $factory;
  20. $this->repositoryQuery = $repositoryQuery;
  21. $this->store = $store;
  22. }
  23. public function getFactory(): MerchantSettingFactory
  24. {
  25. return $this->factory;
  26. }
  27. public function getDefinition(): MerchantSettingDefinition
  28. {
  29. return $this->definition;
  30. }
  31. public function getRepositoryQuery(): MerchantSettingRepositoryQuery
  32. {
  33. return $this->repositoryQuery;
  34. }
  35. public function getStore(): MerchantSettingStore
  36. {
  37. return $this->store;
  38. }
  39. }