8000
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.
2 parents b19fd0b + 3fac19f commit 625b789Copy full SHA for 625b789
components/lock.rst
@@ -203,8 +203,8 @@ to reset the TTL to its original value::
203
$lock->refresh(600);
204
205
This component also provides two useful methods related to expiring locks:
206
-``getExpiringDate()`` (which returns ``null`` or a ``\DateTimeImmutable``
207
-object) and ``isExpired()`` (which returns a boolean).
+``getRemainingLifetime()`` (which returns ``null`` or a ``float``
+as seconds) and ``isExpired()`` (which returns a boolean).
208
209
Shared Locks
210
------------
0 commit comments