You are here

public function vfsStreamWrapperRecordingProxy::stream_write 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_write()

writes data into the stream

Parameters

string $data:

Return value

int amount of bytes written

Overrides vfsStreamWrapper::stream_write

File

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

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function stream_write($data) {
  self::recordMethodCall('stream_write', $this->path);
  return parent::stream_write($data);
}