Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

58 Zeilen
1.5KB

  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. use Lc\SovBundle\Solver\Setting\SettingSolver;
  8. class SiteSettingContainer
  9. {
  10. protected SiteSettingFactory $factory;
  11. protected SiteSettingDefinition $definition;
  12. protected SiteSettingRepositoryQuery $repositoryQuery;
  13. protected SiteSettingStore $store;
  14. protected SettingSolver $settingSolver;
  15. public function __construct(
  16. SiteSettingFactory $factory,
  17. SiteSettingDefinition $definition,
  18. SiteSettingRepositoryQuery $repositoryQuery,
  19. SiteSettingStore $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(): SiteSettingFactory
  29. {
  30. return $this->factory;
  31. }
  32. public function getDefinition(): SiteSettingDefinition
  33. {
  34. return $this->definition;
  35. }
  36. public function getRepositoryQuery(): SiteSettingRepositoryQuery
  37. {
  38. return $this->repositoryQuery;
  39. }
  40. public function getStore(): SiteSettingStore
  41. {
  42. return $this->store;
  43. }
  44. public function getSettingSolver(): SettingSolver
  45. {
  46. return $this->settingSolver;
  47. }
  48. }