|
- <?php
-
- namespace common\logic\User\CreditHistory\Wrapper;
-
- use common\logic\AbstractContainer;
- use common\logic\User\CreditHistory\Repository\CreditHistoryRepository;
- use common\logic\User\CreditHistory\Service\CreditHistoryBuilder;
- use common\logic\User\CreditHistory\Service\CreditHistoryDefinition;
- use common\logic\User\CreditHistory\Service\CreditHistorySolver;
- use common\logic\User\CreditHistory\Service\CreditUtils;
-
- class CreditHistoryContainer extends AbstractContainer
- {
- public function getServices(): array
- {
- return [
- CreditHistoryDefinition::class,
- CreditHistorySolver::class,
- CreditHistoryBuilder::class,
- CreditHistoryRepository::class,
- CreditUtils::class,
- ];
- }
-
- public function getDefinition(): CreditHistoryDefinition
- {
- return CreditHistoryDefinition::getInstance();
- }
-
- public function getSolver(): CreditHistorySolver
- {
- return CreditHistorySolver::getInstance();
- }
-
- public function getBuilder(): CreditHistoryBuilder
- {
- return CreditHistoryBuilder::getInstance();
- }
-
- public function getRepository(): CreditHistoryRepository
- {
- return CreditHistoryRepository::getInstance();
- }
-
- public function getCreditUtils(): CreditUtils
- {
- return CreditUtils::getInstance();
- }
- }
|