\Psc\Library\IO\LockLock

Summary

Methods
Properties
Constants
__construct()
__destruct()
lock()
sharedLock()
unlock()
close()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
generateFilePathByChannelName()
$resource
$path
$forkHandlerEventId
$name
$closed
N/A

Properties

$resource

$resource : mixed

Type

mixed

$path

$path : string

Type

string

$forkHandlerEventId

$forkHandlerEventId : int

Type

int

$name

$name : string

Type

string

$closed

$closed : bool

Type

bool

Methods

__construct()

__construct(string  $name = 'default') : mixed

Parameters

string $name

Returns

mixed —

__destruct()

__destruct() : mixed

Returns

mixed —

lock()

lock(bool  $blocking = true) : bool

Parameters

bool $blocking

Returns

bool —

sharedLock()

sharedLock(bool  $blocking = true) : bool

Parameters

bool $blocking

Returns

bool —

unlock()

unlock() : bool

Returns

bool —

close()

close() : void

generateFilePathByChannelName()

generateFilePathByChannelName(string  $name) : string

Parameters

string $name

Returns

string —