You are here

public function vfsStreamWrapper::stream_cast in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php \org\bovigo\vfs\vfsStreamWrapper::stream_cast()

retrieve the underlaying resource

Please note that this method always returns false as there is no underlaying resource to return.

@since 0.9.0

Parameters

int $cast_as:

Return value

bool

See also

https://github.com/mikey179/vfsStream/issues/3

1 call to vfsStreamWrapper::stream_cast()
vfsStreamWrapperRecordingProxy::stream_cast in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
retrieve the underlaying resource
1 method overrides vfsStreamWrapper::stream_cast()
vfsStreamWrapperRecordingProxy::stream_cast in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
retrieve the underlaying resource

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php, line 677

Class

vfsStreamWrapper
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function stream_cast($cast_as) {
  return false;
}