You are here

public function vfsStreamWrapperRecordingProxy::stream_read 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_read()

read the stream up to $count bytes

Parameters

int $count amount of bytes to read:

Return value

string

Overrides vfsStreamWrapper::stream_read

File

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

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

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