You are here

public function vfsStreamWrapper::stream_tell 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_tell()

returns the current position of the stream

Return value

int

1 call to vfsStreamWrapper::stream_tell()
vfsStreamWrapperRecordingProxy::stream_tell in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
returns the current position of the stream
1 method overrides vfsStreamWrapper::stream_tell()
vfsStreamWrapperRecordingProxy::stream_tell in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
returns the current position of the stream

File

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

Class

vfsStreamWrapper
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function stream_tell() {
  return $this->content
    ->getBytesRead();
}