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\SovBundle\Container\Setting;
  3. use Lc\SovBundle\Definition\SiteSettingDefinition;
  4. use Lc\SovBundle\Factory\Setting\SiteSettingFactory;
  5. use Lc\SovBundle\Repository\Setting\SiteSettingRepositoryQuery;
  6. use Lc\SovBundle\Repository\Setting\SiteSettingStore;
  7. class SiteSettingContainer
  8. {
  9. protected SiteSettingFactory $factory;
  10. protected SiteSettingDefinition $definition;
  11. protected SiteSettingRepositoryQuery $repositoryQuery;
  12. protected SiteSettingStore $store;
  13. public function __construct(
  14. SiteSettingFactory $factory,
  15. SiteSettingDefinition $definition,
  16. SiteSettingRepositoryQuery $repositoryQuery,
  17. SiteSettingStore $store
  18. ) {
  19. $this->factory = $factory;
  20. $this->definition = $definition;
  21. $this->repositoryQuery = $repositoryQuery;
  22. $this->store = $store;
  23. }
  24. public function getFactory(): SiteSettingFactory
  25. {
  26. return $this->factory;
  27. }
  28. public function getDefinition(): SiteSettingDefinition
  29. {
  30. return $this->definition;
  31. }
  32. public function getRepositoryQuery(): SiteSettingRepositoryQuery
  33. {
  34. return $this->repositoryQuery;
  35. }
  36. public function getStore(): SiteSettingStore
  37. {
  38. return $this->store;
  39. }
  40. }