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.

SectionSettingContainer.php 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. }