framework.yaml 746 B

12345678910111213141516171819202122232425
  1. # see https://symfony.com/doc/current/reference/configuration/framework.html
  2. framework:
  3. secret: '%env(APP_SECRET)%'
  4. #csrf_protection: true
  5. http_method_override: false
  6. handle_all_throwables: true
  7. # Enables session support. Note that the session will ONLY be started if you read or write from it.
  8. # Remove or comment this section to explicitly disable session support.
  9. session:
  10. handler_id: null
  11. cookie_secure: auto
  12. cookie_samesite: lax
  13. storage_factory_id: session.storage.factory.native
  14. #esi: true
  15. #fragments: true
  16. php_errors:
  17. log: true
  18. when@test:
  19. framework:
  20. test: true
  21. session:
  22. storage_factory_id: session.storage.factory.mock_file