You are here

public function vfsStreamWrapperRecordingProxy::stream_cast 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_cast()

retrieve the underlaying resource

Parameters

int $cast_as:

Return value

bool

Overrides vfsStreamWrapper::stream_cast

File

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

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

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