Method | Description | |
---|---|---|
__construct ( callable $releaser ) | Creates a new lock permit object. | |
__destruct ( ) | Releases the lock when there are no more references to it. | |
isReleased ( ) : boolean | Checks if the lock has already been released. | |
release ( ) | Releases the lock. |
public __construct ( callable $releaser ) | ||
$releaser | callable |
public __destruct ( ) |
public isReleased ( ) : boolean | ||
return | boolean | True if the lock has already been released, otherwise false. |