You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.4KB

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