Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

ProjectInspiringContainer.php 1.1KB

3 лет назад
123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace Lc\PietroBundle\Container\ProjectInspiring;
  3. use Lc\PietroBundle\Factory\ProjectInspiring\ProjectInspiringFactory;
  4. use Lc\PietroBundle\Repository\ProjectInspiring\ProjectInspiringRepositoryQuery;
  5. use Lc\PietroBundle\Repository\ProjectInspiring\ProjectInspiringStore;
  6. class ProjectInspiringContainer
  7. {
  8. protected ProjectInspiringFactory $factory;
  9. protected ProjectInspiringRepositoryQuery $repositoryQuery;
  10. protected ProjectInspiringStore $store;
  11. public function __construct(
  12. ProjectInspiringFactory $factory,
  13. ProjectInspiringRepositoryQuery $repositoryQuery,
  14. ProjectInspiringStore $store
  15. ) {
  16. $this->factory = $factory;
  17. $this->repositoryQuery = $repositoryQuery;
  18. $this->store = $store;
  19. }
  20. public function getFactory(): ProjectInspiringFactory
  21. {
  22. return $this->factory;
  23. }
  24. public function getRepositoryQuery(): ProjectInspiringRepositoryQuery
  25. {
  26. return $this->repositoryQuery;
  27. }
  28. public function getStore(): ProjectInspiringStore
  29. {
  30. return $this->store;
  31. }
  32. }