Files
symfony-flex-recipes-contrib/tg-bot-api/bot-api-base/1.0/config/packages/tg_bot_api.yaml
T
2019-12-15 03:53:13 +03:00

19 lines
716 B
YAML

services:
TgBotApi\BotApiBase\ApiClient:
arguments:
$requestFactory: '@Psr\Http\Message\RequestFactoryInterface'
$streamFactory: '@Psr\Http\Message\StreamFactoryInterface'
$client: '@Psr\Http\Client\ClientInterface'
TgBotApi\BotApiBase\BotApiNormalizer: null
TgBotApi\BotApiBase\ApiClientInterface: '@TgBotApi\BotApiBase\ApiClient'
TgBotApi\BotApiBase\NormalizerInterface: '@TgBotApi\BotApiBase\BotApiNormalizer'
TgBotApi\BotApiBase\BotApi:
arguments:
$botKey: '%env(resolve:TG_BOT_API_KEY)%'
$apiClient: '@TgBotApi\BotApiBase\ApiClientInterface'
$normalizer: '@TgBotApi\BotApiBase\NormalizerInterface'