Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

51 rinda
1.2KB

  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. $this->store->resetContext();
  39. return $this->store;
  40. }
  41. }