function SessionStreamWrapper::stream_tell
Same name and namespace in other branches
- 8.x-1.x stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php \Drupal\stream_wrapper_example\StreamWrapper\SessionStreamWrapper::stream_tell()
- 4.0.x modules/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
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;
}