-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservices.yaml
More file actions
23 lines (22 loc) · 1.15 KB
/
services.yaml
File metadata and controls
23 lines (22 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
ProtectedClient:
class: Hitbtc\ProtectedClient
arguments: ['%HitBTCApiKey%', '%HitBTCSecret%', '%HitBTCModeDemo%']
InvestmentRepository:
class: CriptoControl\Infrastructure\Persistence\Api\HitBTCInvestmentRepository
arguments: ['@ProtectedClient']
GetInvestmentListHandler:
class: CriptoControl\Application\Query\GetInvestmentListHandler
arguments: ['@InvestmentRepository']
GetInvestmentWithCurrencyHandler:
class: CriptoControl\Application\Query\GetInvestmentWithCurrencyHandler
arguments: ['@InvestmentRepository']
CoinMarketCapExchangeReadRepository:
class: CriptoControl\Infrastructure\Persistence\Api\CoinMarketCapExchangeReadRepository
arguments: ['%CoinMarketUrl%', '%CoinMarketApiKey%']
GetExchangeForInvestmentHandler:
class: CriptoControl\Application\Query\GetExchangeForInvestmentHandler
arguments: ['@CoinMarketCapExchangeReadRepository']
GetInvestmentByFiatHandler:
class: CriptoControl\Application\Query\GetInvestmentByFiatHandler
arguments: ['@GetInvestmentListHandler', '@GetExchangeForInvestmentHandler']