function vfsStreamFile::addSharedLock
Add shared lock on file by given resource
Parameters
resource|vfsStreamWrapper $resource:
See also
https://github.com/mikey179/vfsStream/issues/40
1 call to vfsStreamFile::addSharedLock()
- vfsStreamFile::lock in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamFile.php - locks file for
File
-
vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamFile.php, line 325
Class
- vfsStreamFile
- File container.
Namespace
org\bovigo\vfsCode
protected function addSharedLock($resource) {
$this->sharedLock[$this->getResourceId($resource)] = true;
}