Key
class Key
Key is a container for the state of the locks in stores.
Methods
__construct(string $resource)
No description
__toString()
No description
bool
hasState(string $stateKey)
No description
void
setState(string $stateKey, $state)
No description
void
removeState(string $stateKey)
No description
getState(string $stateKey)
No description
resetLifetime()
No description
reduceLifetime(float $ttl)
No description
float|null
getRemainingLifetime()
Returns the remaining lifetime.
bool
isExpired()
No description