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.

пре 3 година
пре 2 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 2 година
пре 3 година
пре 3 година
пре 3 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. namespace Lc\SovBundle\Container\Setting;
  3. use App\Entity\Setting\SiteSetting;
  4. use Lc\SovBundle\Definition\SiteSettingDefinition;
  5. use Lc\SovBundle\Factory\Setting\SiteSettingFactory;
  6. use Lc\SovBundle\Repository\Setting\SiteSettingRepositoryQuery;
  7. use Lc\SovBundle\Repository\Setting\SiteSettingStore;
  8. use Lc\SovBundle\Solver\Setting\SettingSolver;
  9. class SiteSettingContainer
  10. {
  11. protected SiteSettingFactory $factory;
  12. protected SiteSettingDefinition $definition;
  13. protected SiteSettingRepositoryQuery $repositoryQuery;
  14. protected SiteSettingStore $store;
  15. protected SettingSolver $settingSolver;
  16. public function __construct(
  17. SiteSettingFactory $factory,
  18. SiteSettingDefinition $definition,
  19. SiteSettingRepositoryQuery $repositoryQuery,
  20. SiteSettingStore $store,
  21. SettingSolver $settingSolver
  22. ) {
  23. $this->factory = $factory;
  24. $this->definition = $definition;
  25. $this->repositoryQuery = $repositoryQuery;
  26. $this->store = $store;
  27. $this->settingSolver = $settingSolver;
  28. }
  29. public static function getEntityFqcn()
  30. {
  31. return SiteSetting::class;
  32. }
  33. public function getFactory(): SiteSettingFactory
  34. {
  35. return $this->factory;
  36. }
  37. public function getDefinition(): SiteSettingDefinition
  38. {
  39. return $this->definition;
  40. }
  41. public function getRepositoryQuery(): SiteSettingRepositoryQuery
  42. {
  43. return $this->repositoryQuery;
  44. }
  45. public function getStore(): SiteSettingStore
  46. {
  47. return $this->store;
  48. }
  49. public function getSettingSolver(): SettingSolver
  50. {
  51. return $this->settingSolver;
  52. }
  53. }