function vfsStreamFile::isLocked
checks whether file is locked
@since 0.10.0
Parameters
resource|vfsStreamWrapper $resource:
Return value
bool
See also
https://github.com/mikey179/vfsStream/issues/6
https://github.com/mikey179/vfsStream/issues/40
1 call to vfsStreamFile::isLocked()
- 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 338
Class
- vfsStreamFile
- File container.
Namespace
org\bovigo\vfsCode
public function isLocked($resource = null) {
return $this->hasSharedLock($resource) || $this->hasExclusiveLock($resource);
}