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 fed7f24 + dab151b commit dc11d20Copy full SHA for dc11d20
components/lock.rst
@@ -191,8 +191,8 @@ to reset the TTL to its original value::
191
$lock->refresh(600);
192
193
This component also provides two useful methods related to expiring locks:
194
-``getExpiringDate()`` (which returns ``null`` or a ``\DateTimeImmutable``
195
-object) and ``isExpired()`` (which returns a boolean).
+``getRemainingLifetime()`` (which returns ``null`` or a ``float``
+as seconds) and ``isExpired()`` (which returns a boolean).
196
197
The Owner of The Lock
198
---------------------
0 commit comments