Skip to content

Commit 73d87e7

Browse files
committed
minor #20315 [Lock] Add NullStore (alamirault)
This PR was merged into the 7.2 branch. Discussion ---------- [Lock] Add NullStore Fix #20310 Commits ------- 5e8fb6e [Lock] Add NullStore
2 parents 94608af + 5e8fb6e commit 73d87e7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/lock.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,14 @@ Store Scope Blocking Ex
406406
A special ``InMemoryStore`` is available for saving locks in memory during
407407
a process, and can be useful for testing.
408408

409+
.. tip::
410+
411+
A special ``NullStore`` is available and persist nothing, it can be useful for testing.
412+
413+
.. versionadded:: 7.2
414+
415+
The :class:`Symfony\\Component\\Lock\\Store\\NullStore` was introduced in Symfony 7.2.
416+
409417
.. _lock-store-flock:
410418

411419
FlockStore

0 commit comments

Comments
 (0)