This commit is contained in:
Rylix
2024-09-11 14:41:00 +02:00
committed by GitHub
parent 1a20e96174
commit c7d9a50727
+1 -1
View File
@@ -710,7 +710,7 @@ method::
of the Twig environment. It means that globals should not be used to store
values that can change during the lifetime of the Twig environment. For
instance, if you're using an application server like RoadRunner or
FrakenPHP, you should not store values related to the current context (like
FrankenPHP, you should not store values related to the current context (like
the HTTP request). If you do so, don't forget to reset the cache between
requests by calling ``Environment::resetGlobals()``.