Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

58 lines
1.6KB

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