Lock
final class Lock (View source)
Provides a value object representing the lock from a TempStore.
Methods
__construct(int $owner_id, int $updated)
Constructs a new Lock object.
int
getOwnerId()
Gets the owner ID.
int
getUpdated()
Gets the timestamp of the last update to the lock.
__get($name)
Provides backwards compatibility for using the lock as a \stdClass object.
Details
__construct(int $owner_id, int $updated)
Constructs a new Lock object.
int
getOwnerId()
Gets the owner ID.
int
getUpdated()
Gets the timestamp of the last update to the lock.
__get($name)
Provides backwards compatibility for using the lock as a \stdClass object.