Skip to content

Commit 2c24e64

Browse files
committed
[Lock] Mentioned the new PersistStoreInterface and BlockingStoreInterface interfaces
1 parent f7fa0d1 commit 2c24e64

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

components/lock.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,10 @@ Available Stores
208208
----------------
209209

210210
Locks are created and managed in ``Stores``, which are classes that implement
211-
:class:`Symfony\\Component\\Lock\\StoreInterface`. The component includes the
212-
following built-in store types:
211+
:class:`Symfony\\Component\\Lock\\PersistStoreInterface` and, optionally,
212+
:class:`Symfony\\Component\\Lock\\BlockingStoreInterface`.
213+
214+
The component includes the following built-in store types:
213215

214216
============================================ ====== ======== ========
215217
Store Scope Blocking Expiring
@@ -222,6 +224,12 @@ Store Scope Blocking Expiring
222224
:ref:`ZookeeperStore <lock-store-zookeeper>` remote no no
223225
============================================ ====== ======== ========
224226

227+
.. versionadded:: 4.4
228+
229+
The ``PersistStoreInterface`` and ``BlockingStoreInterface`` interfaces were
230+
introduced in Symfony 4.4. In previous versions there was only one interface
231+
called ``Symfony\Component\Lock\StoreInterface``.
232+
225233
.. _lock-store-flock:
226234

227235
FlockStore

0 commit comments

Comments
 (0)