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.

CreditHistoryContainer.php 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Credit;
  3. use Lc\CaracoleBundle\Builder\Credit\CreditHistoryBuilder;
  4. use Lc\CaracoleBundle\Factory\Credit\CreditHistoryFactory;
  5. use Lc\CaracoleBundle\Repository\Credit\CreditHistoryRepositoryQuery;
  6. use Lc\CaracoleBundle\Repository\Credit\CreditHistoryStore;
  7. use Lc\CaracoleBundle\Solver\Credit\CreditHistorySolver;
  8. class CreditHistoryContainer
  9. {
  10. protected CreditHistoryFactory $factory;
  11. protected CreditHistoryRepositoryQuery $repositoryQuery;
  12. protected CreditHistoryStore $store;
  13. protected CreditHistoryBuilder $builder;
  14. protected CreditHistorySolver $solver;
  15. public function __construct(
  16. CreditHistoryFactory $factory,
  17. CreditHistoryRepositoryQuery $repositoryQuery,
  18. CreditHistorySolver $solver,
  19. CreditHistoryStore $store,
  20. CreditHistoryBuilder $builder
  21. ) {
  22. $this->factory = $factory;
  23. $this->repositoryQuery = $repositoryQuery;
  24. $this->solver = $solver;
  25. $this->store = $store;
  26. $this->builder = $builder;
  27. }
  28. public function getFactory(): CreditHistoryFactory
  29. {
  30. return $this->factory;
  31. }
  32. public function getRepositoryQuery(): CreditHistoryRepositoryQuery
  33. {
  34. return $this->repositoryQuery;
  35. }
  36. public function getSolver(): CreditHistorySolver
  37. {
  38. return $this->solver;
  39. }
  40. public function getStore(): CreditHistoryStore
  41. {
  42. return $this->store;
  43. }
  44. public function getBuilder(): CreditHistoryBuilder
  45. {
  46. return $this->builder;
  47. }
  48. }