We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3926224 commit b3d5b64Copy full SHA for b3d5b64
components/lock.rst
@@ -146,6 +146,10 @@ to reset the TTL to its original value::
146
$lock->release();
147
}
148
149
+This component also provides two useful methods related to expiring locks:
150
+``getExpiringDate()`` (which returns ``null`` or a ``\DateTimeImmutable``
151
+object) and ``isExpired()`` (which returns a boolean).
152
+
153
Available Stores
154
----------------
155
0 commit comments