Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

OpeningContainer.php 1.2KB

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