Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

40 lines
899B

  1. <?php
  2. namespace Lc\SovBundle\Container\Site;
  3. use Lc\SovBundle\Factory\Site\SiteFactory;
  4. use Lc\SovBundle\Repository\Site\SiteRepositoryQuery;
  5. use Lc\SovBundle\Repository\Site\SiteStore;
  6. class SiteContainer
  7. {
  8. protected SiteFactory $factory;
  9. protected SiteRepositoryQuery $repositoryQuery;
  10. protected SiteStore $store;
  11. public function __construct(
  12. SiteFactory $factory,
  13. SiteRepositoryQuery $repositoryQuery,
  14. SiteStore $store
  15. ) {
  16. $this->factory = $factory;
  17. $this->repositoryQuery = $repositoryQuery;
  18. $this->store = $store;
  19. }
  20. public function getFactory(): SiteFactory
  21. {
  22. return $this->factory;
  23. }
  24. public function getRepositoryQuery(): SiteRepositoryQuery
  25. {
  26. return $this->repositoryQuery;
  27. }
  28. public function getStore(): SiteStore
  29. {
  30. return $this->store;
  31. }
  32. }