Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ReductionCreditContainer.php 1.4KB

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