프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$file | lock file | ||
$fp | resource | ||
$locked | boolean |
메소드 | 설명 | |
---|---|---|
__destory ( ) | ||
acquire ( boolean $blocking = true ) : mixed | get a lock | |
create ( string $file ) : |
create a file lock instance if the file is not exists, it will be created | |
isLocked ( ) : mixed | is locked | |
release ( ) : mixed | release lock |
메소드 | 설명 | |
---|---|---|
__construct ( $file ) |