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

42 行
1.1KB

  1. <?php
  2. namespace common\logic\User\CreditHistory\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\User\CreditHistory\Repository\CreditHistoryRepository;
  5. use common\logic\User\CreditHistory\Service\CreditHistoryBuilder;
  6. use common\logic\User\CreditHistory\Service\CreditHistoryDefinition;
  7. use common\logic\User\CreditHistory\Service\CreditHistorySolver;
  8. class CreditHistoryContainer extends AbstractContainer
  9. {
  10. public function getServices(): array
  11. {
  12. return [
  13. CreditHistoryDefinition::class,
  14. CreditHistorySolver::class,
  15. CreditHistoryBuilder::class,
  16. CreditHistoryRepository::class,
  17. ];
  18. }
  19. public function getDefinition(): CreditHistoryDefinition
  20. {
  21. return CreditHistoryDefinition::getInstance();
  22. }
  23. public function getSolver(): CreditHistorySolver
  24. {
  25. return CreditHistorySolver::getInstance();
  26. }
  27. public function getBuilder(): CreditHistoryBuilder
  28. {
  29. return CreditHistoryBuilder::getInstance();
  30. }
  31. public function getRepository(): CreditHistoryRepository
  32. {
  33. return CreditHistoryRepository::getInstance();
  34. }
  35. }