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.

SectionContainer.php 1.2KB

пре 3 година
пре 3 година
пре 3 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. }