You are here

public function vfsStreamWrapper::stream_seek in Zircon Profile 8

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

seeks to the given offset

Parameters

int $offset:

int $whence:

Return value

bool

1 call to vfsStreamWrapper::stream_seek()
vfsStreamWrapperRecordingProxy::stream_seek in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
seeks to the given offset
1 method overrides vfsStreamWrapper::stream_seek()
vfsStreamWrapperRecordingProxy::stream_seek in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
seeks to the given offset

File

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

Class

vfsStreamWrapper
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function stream_seek($offset, $whence) {
  return $this->content
    ->seek($offset, $whence);
}