You are here

public function vfsStreamWrapperRecordingProxy::stream_open in Zircon Profile 8.0

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

open the stream

Parameters

string $path the path to open:

string $mode mode for opening:

string $options options for opening:

string $opened_path full path that was actually opened:

Return value

bool

Overrides vfsStreamWrapper::stream_open

File

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

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function stream_open($path, $mode, $options, $opened_path) {
  $this->path = $path;
  self::recordMethodCall('stream_open', $this->path);
  return parent::stream_open($path, $mode, $options, $opened_path);
}