選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

49 行
1.4KB

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