Enhance params and envs

This commit is contained in:
thibaud-leclere
2026-01-15 13:16:09 +01:00
parent b38ef63395
commit be171b45b4
5 changed files with 18 additions and 28 deletions

View File

@@ -20,7 +20,7 @@ class TMDBGateway
private readonly SerializerInterface $serializer,
#[Autowire('%env(TMDB_API_TOKEN)%')]
private readonly string $apiToken,
#[Autowire('%env(TMDB_HOST)%')]
#[Autowire('%tmdb_host%')]
private readonly string $host,
) {
}