Lock
Table of Contents
Methods
- get() : bool
- Gets named lock. Returns true if lock was successful and false otherwise.
- release() : mixed
Methods
get()
Gets named lock. Returns true if lock was successful and false otherwise.
public
static get(string $lockName) : bool
Parameters
- $lockName : string
-
Name of the lock.
Return values
boolrelease()
public
static release(mixed $lockName) : mixed
Parameters
- $lockName : mixed