mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-19 02:56:26 +03:00
19 lines
716 B
YAML
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'
|