Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

49 lines
1.2KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Section;
  3. use Lc\CaracoleBundle\Factory\Section\SectionFactory;
  4. use Lc\CaracoleBundle\Repository\Section\SectionRepositoryQuery;
  5. use Lc\CaracoleBundle\Repository\Section\SectionStore;
  6. use Lc\CaracoleBundle\Resolver\SectionResolver;
  7. use Lc\SovBundle\Solver\Setting\SettingSolver;
  8. class SectionContainer
  9. {
  10. protected SectionFactory $factory;
  11. protected SectionResolver $resolver;
  12. protected SectionRepositoryQuery $repositoryQuery;
  13. protected SectionStore $store;
  14. public function __construct(
  15. SectionFactory $factory,
  16. SectionResolver $resolver,
  17. SectionRepositoryQuery $repositoryQuery,
  18. SectionStore $store
  19. ) {
  20. $this->factory = $factory;
  21. $this->resolver = $resolver;
  22. $this->repositoryQuery = $repositoryQuery;
  23. $this->store = $store;
  24. }
  25. public function getFactory(): SectionFactory
  26. {
  27. return $this->factory;
  28. }
  29. public function getResolver(): SectionResolver
  30. {
  31. return $this->resolver;
  32. }
  33. public function getRepositoryQuery(): SectionRepositoryQuery
  34. {
  35. return $this->repositoryQuery;
  36. }
  37. public function getStore(): SectionStore
  38. {
  39. return $this->store;
  40. }
  41. }