Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

MerchantSettingContainer.php 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. use Lc\SovBundle\Solver\Setting\SettingSolver;
  8. class MerchantSettingContainer
  9. {
  10. protected MerchantSettingFactory $factory;
  11. protected MerchantSettingDefinition $definition;
  12. protected MerchantSettingRepositoryQuery $repositoryQuery;
  13. protected MerchantSettingStore $store;
  14. protected SettingSolver $settingSolver;
  15. public function __construct(
  16. MerchantSettingFactory $factory,
  17. MerchantSettingDefinition $definition,
  18. MerchantSettingRepositoryQuery $repositoryQuery,
  19. MerchantSettingStore $store,
  20. SettingSolver $settingSolver
  21. ) {
  22. $this->factory = $factory;
  23. $this->definition = $definition;
  24. $this->repositoryQuery = $repositoryQuery;
  25. $this->store = $store;
  26. $this->settingSolver = $settingSolver;
  27. }
  28. public function getFactory(): MerchantSettingFactory
  29. {
  30. return $this->factory;
  31. }
  32. public function getDefinition(): MerchantSettingDefinition
  33. {
  34. return $this->definition;
  35. }
  36. public function getRepositoryQuery(): MerchantSettingRepositoryQuery
  37. {
  38. return $this->repositoryQuery;
  39. }
  40. public function getStore(): MerchantSettingStore
  41. {
  42. $this->store->resetContext();
  43. return $this->store;
  44. }
  45. public function getSettingSolver(): SettingSolver
  46. {
  47. return $this->settingSolver;
  48. }
  49. }