Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions components/lock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ Available Stores
----------------

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

The component includes the following built-in store types:

============================================ ====== ======== ========
Store Scope Blocking Expiring
Expand All @@ -222,6 +224,12 @@ Store Scope Blocking Expiring
:ref:`ZookeeperStore <lock-store-zookeeper>` remote no no
============================================ ====== ======== ========

.. versionadded:: 4.4

The ``PersistStoreInterface`` and ``BlockingStoreInterface`` interfaces were
introduced in Symfony 4.4. In previous versions there was only one interface
called ``Symfony\Component\Lock\StoreInterface``.

.. _lock-store-flock:

FlockStore
Expand Down