Skip to content
Open
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
9 changes: 9 additions & 0 deletions components/lock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@ example, the kernel will automatically release semaphores acquired by the
store (see :ref:`lock stores <lock-stores>` for supported stores), an
exception will be thrown when the application tries to serialize the key.

Locks can be serialized using both the native PHP serialization system
and its :phpfunction:`serialize` function, or using the Serializer
component.

.. versionadded:: 7.4

The support for serializing locks with the Serializer component was
introduced in Symfony 7.4.

.. _lock-blocking-locks:

Blocking Locks
Expand Down