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

58 行
1.6KB

  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. return $this->store;
  43. }
  44. public function getSettingSolver(): SettingSolver
  45. {
  46. return $this->settingSolver;
  47. }
  48. }