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

SectionSettingContainer.php 1.3KB

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