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.
1 parent 7d03251 commit f812114Copy full SHA for f812114
components/lock.rst
@@ -196,8 +196,8 @@ to reset the TTL to its original value::
196
$lock->refresh(600);
197
198
This component also provides two useful methods related to expiring locks:
199
-``getExpiringDate()`` (which returns ``null`` or a ``\DateTimeImmutable``
200
-object) and ``isExpired()`` (which returns a boolean).
+``getRemainingLifetime()`` (which returns ``null`` or a ``float``
+as seconds) and ``isExpired()`` (which returns a boolean).
201
202
The Owner of The Lock
203
---------------------
0 commit comments