Enhance params and envs
This commit is contained in:
@@ -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,
|
||||
) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user