diff --git a/components/lock.rst b/components/lock.rst index 6e67b16ee3c..529696e082c 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -146,6 +146,10 @@ to reset the TTL to its original value:: $lock->release(); } +This component also provides two useful methods related to expiring locks: +``getExpiringDate()`` (which returns ``null`` or a ``\DateTimeImmutable`` +object) and ``isExpired()`` (which returns a boolean). + Available Stores ----------------