Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

49 lines
1.3KB

  1. <?php
  2. namespace Lc\PietroBundle\Container\Workshop;
  3. use Lc\PietroBundle\Definition\Field\Workshop\SolutionFieldDefinition;
  4. use Lc\PietroBundle\Factory\Workshop\SolutionFactory;
  5. use Lc\PietroBundle\Repository\Workshop\SolutionRepositoryQuery;
  6. use Lc\PietroBundle\Repository\Workshop\SolutionStore;
  7. class SolutionContainer
  8. {
  9. protected SolutionFactory $factory;
  10. protected SolutionRepositoryQuery $repositoryQuery;
  11. protected SolutionStore $store;
  12. protected SolutionFieldDefinition $fieldDefinition;
  13. public function __construct(
  14. SolutionFactory $factory,
  15. SolutionRepositoryQuery $repositoryQuery,
  16. SolutionStore $store,
  17. SolutionFieldDefinition $fieldDefinition
  18. ) {
  19. $this->factory = $factory;
  20. $this->repositoryQuery = $repositoryQuery;
  21. $this->store = $store;
  22. $this->fieldDefinition = $fieldDefinition;
  23. }
  24. public function getFactory(): SolutionFactory
  25. {
  26. return $this->factory;
  27. }
  28. public function getRepositoryQuery(): SolutionRepositoryQuery
  29. {
  30. return $this->repositoryQuery;
  31. }
  32. public function getStore(): SolutionStore
  33. {
  34. return $this->store;
  35. }
  36. public function getFieldDefinition(): SolutionFieldDefinition
  37. {
  38. return $this->fieldDefinition;
  39. }
  40. }