You are here

public function vfsStreamWrapperRecordingProxy::stream_lock in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php \org\bovigo\vfs\vfsStreamWrapperRecordingProxy::stream_lock()

set lock status for stream

Parameters

int $operation:

Return value

bool

Overrides vfsStreamWrapper::stream_lock

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php, line 208

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function stream_lock($operation) {
  self::recordMethodCall('stream_link', $this->path);
  return parent::stream_lock($operation);
}