|
123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?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;
-
- class CreditHistoryContainer extends AbstractContainer
- {
- public function getServices(): array
- {
- return [
- CreditHistoryDefinition::class,
- CreditHistorySolver::class,
- CreditHistoryBuilder::class,
- CreditHistoryRepository::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();
- }
- }
|