public function SessionStreamWrapper::stream_tell in Examples for Developers 3.x
Same name and namespace in other branches
- 8 stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php \Drupal\stream_wrapper_example\StreamWrapper\SessionStreamWrapper::stream_tell()
Retrieve the current position of a stream.
This method is called in response to fseek() to determine the current position.
Return value
int Should return the current position of the stream.
Overrides PhpStreamWrapperInterface::stream_tell
See also
PhpStreamWrapperInterface::stream_tell()
http://php.net/manual/en/streamwrapper.stream-tell.php
File
- modules/
stream_wrapper_example/ src/ StreamWrapper/ SessionStreamWrapper.php, line 558
Class
- SessionStreamWrapper
- Example stream wrapper class to handle session:// streams.
Namespace
Drupal\stream_wrapper_example\StreamWrapperCode
public function stream_tell() {
// @codingStandardsIgnoreEnd
return $this->streamPointer;
}