Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

49 linhas
1.4KB

  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. }