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ů.

58 lines
1.6KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Setting;
  3. use Lc\CaracoleBundle\Definition\SectionSettingDefinition;
  4. use Lc\CaracoleBundle\Factory\Setting\SectionSettingFactory;
  5. use Lc\CaracoleBundle\Repository\Setting\SectionSettingRepositoryQuery;
  6. use Lc\CaracoleBundle\Repository\Setting\SectionSettingStore;
  7. use Lc\SovBundle\Solver\Setting\SettingSolver;
  8. class SectionSettingContainer
  9. {
  10. protected SectionSettingFactory $factory;
  11. protected SectionSettingDefinition $definition;
  12. protected SectionSettingRepositoryQuery $repositoryQuery;
  13. protected SectionSettingStore $store;
  14. protected SettingSolver $settingSolver;
  15. public function __construct(
  16. SectionSettingFactory $factory,
  17. SectionSettingDefinition $definition,
  18. SectionSettingRepositoryQuery $repositoryQuery,
  19. SectionSettingStore $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(): SectionSettingFactory
  29. {
  30. return $this->factory;
  31. }
  32. public function getDefinition(): SectionSettingDefinition
  33. {
  34. return $this->definition;
  35. }
  36. public function getRepositoryQuery(): SectionSettingRepositoryQuery
  37. {
  38. return $this->repositoryQuery;
  39. }
  40. public function getStore(): SectionSettingStore
  41. {
  42. return $this->store;
  43. }
  44. public function getSettingSolver(): SettingSolver
  45. {
  46. return $this->settingSolver;
  47. }
  48. }