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.

49 lines
1.3KB

  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. class SectionSettingContainer
  8. {
  9. protected SectionSettingFactory $factory;
  10. protected SectionSettingDefinition $definition;
  11. protected SectionSettingRepositoryQuery $repositoryQuery;
  12. protected SectionSettingStore $store;
  13. public function __construct(
  14. SectionSettingFactory $factory,
  15. SectionSettingDefinition $definition,
  16. SectionSettingRepositoryQuery $repositoryQuery,
  17. SectionSettingStore $store
  18. ) {
  19. $this->factory = $factory;
  20. $this->definition = $definition;
  21. $this->repositoryQuery = $repositoryQuery;
  22. $this->store = $store;
  23. }
  24. public function getFactory(): SectionSettingFactory
  25. {
  26. return $this->factory;
  27. }
  28. public function getDefinition(): SectionSettingDefinition
  29. {
  30. return $this->definition;
  31. }
  32. public function getRepositoryQuery(): SectionSettingRepositoryQuery
  33. {
  34. return $this->repositoryQuery;
  35. }
  36. public function getStore(): SectionSettingStore
  37. {
  38. return $this->store;
  39. }
  40. }