From 0cb7c166611913c6b4246baf8fde0c4d910cd0db Mon Sep 17 00:00:00 2001 From: Mimi <160484490+hmeknassi@users.noreply.github.com> Date: Mon, 14 Jul 2025 09:32:47 +0200 Subject: [PATCH] Update lock.rst Adds a clarification in the Lock component documentation about the the values to use for the env variable LOCK_DSN in order to activate the NullStore and the InMemoryStore. --- components/lock.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lock.rst b/components/lock.rst index b8ba38c8fc7..1bcdc51f80e 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -405,7 +405,8 @@ Store Scope Blocking Ex Symfony includes two other special stores that are mostly useful for testing: ``InMemoryStore``, which saves locks in memory during a process, and ``NullStore``, - which doesn't persist anything. + which doesn't persist anything. To activate either one, simply set the ``LOCK_DSN`` to + ``null`` or ``in-memory``. .. versionadded:: 7.2