framework.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # see https://symfony.com/doc/current/reference/configuration/framework.html
  2. framework:
  3. secret: '%env(APP_SECRET)%'
  4. # Note that the session will be started ONLY if you read or write from it.
  5. session: true
  6. #esi: true
  7. #fragments: true
  8. property_info:
  9. with_constructor_extractor: false
  10. http_client:
  11. scoped_clients:
  12. tmdb.client:
  13. base_uri: '%env(TMDB_URL)%'
  14. query:
  15. language: 'fr'
  16. #api_key: '%env(TMDB_APIKEY_V3)%'
  17. headers:
  18. Authorization: 'Bearer %env(TMDB_APIKEY_V4)%'
  19. Content-Type: 'application/json;charset=utf-8'
  20. mattermost.client:
  21. base_uri: '%env(resolve:MATTERMOST_URL)%'
  22. headers:
  23. Authorization: 'Bearer %env(MATTERMOST_TOKEN)%'
  24. Content-Type: 'application/json;charset=utf-8'
  25. when@test:
  26. framework:
  27. test: true
  28. session:
  29. storage_factory_id: session.storage.factory.mock_file