Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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. class SectionContainer
  8. {
  9. protected SectionFactory $factory;
  10. protected SectionResolver $resolver;
  11. protected SectionRepositoryQuery $repositoryQuery;
  12. protected SectionStore $store;
  13. public function __construct(
  14. SectionFactory $factory,
  15. SectionResolver $resolver,
  16. SectionRepositoryQuery $repositoryQuery,
  17. SectionStore $store
  18. ) {
  19. $this->factory = $factory;
  20. $this->resolver = $resolver;
  21. $this->repositoryQuery = $repositoryQuery;
  22. $this->store = $store;
  23. }
  24. public function getFactory(): SectionFactory
  25. {
  26. return $this->factory;
  27. }
  28. public function getResolver(): SectionResolver
  29. {
  30. return $this->resolver;
  31. }
  32. public function getRepositoryQuery(): SectionRepositoryQuery
  33. {
  34. return $this->repositoryQuery;
  35. }
  36. public function getStore(): SectionStore
  37. {
  38. return $this->store;
  39. }
  40. }