[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch




/vendor/symfony/filesystem/ -> LockHandler.php (summary)

(no description)

File Size: 121 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LockHandler:: (3 methods):

Class: LockHandler  - X-Ref

LockHandler class provides a simple abstraction to lock anything by means of
a file lock.

A locked file is created based on the lock name when calling lock(). Other
lock handlers will not be able to lock the same name until it is released
(explicitly by calling release() or implicitly when the instance holding the
lock is destroyed).

__construct($name, $lockPath = null)   X-Ref

param: string      $name     The lock name
param: string|null $lockPath The directory to store the lock. Default values will use temporary directory

lock($blocking = false)   X-Ref
Lock the resource.

return: bool Returns true if the lock was acquired, false otherwise
param: bool $blocking Wait until the lock is released

release()   X-Ref
Release the resource.

Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1