|
1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
-
- namespace common\logic\User\CreditHistory;
-
- use common\logic\ContainerInterface;
- use common\logic\AbstractSingleton;
-
- class CreditHistoryContainer extends AbstractSingleton implements ContainerInterface
- {
- public function getEntityFqcn(): string
- {
- return CreditHistory::class;
- }
-
- public function getServices(): array
- {
- return [
- CreditHistorySolver::class,
- CreditHistoryBuilder::class,
- CreditHistoryRepository::class,
- ];
- }
-
- public function getSolver(): CreditHistorySolver
- {
- return new CreditHistorySolver();
- }
-
- public function getBuilder(): CreditHistoryBuilder
- {
- return new CreditHistoryBuilder();
- }
-
- public function getRepository(): CreditHistoryRepository
- {
- return new CreditHistoryRepository();
- }
- }
|