Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SeekableFileContent.php

function SeekableFileContent::bytesRead

for backwards compatibility with vfsStreamFile::bytesRead()

Return value

int

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php, line 119

Class

SeekableFileContent
Default implementation for file contents based on simple strings.

Namespace

org\bovigo\vfs\content

Code

public function bytesRead() {
    return $this->offset;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal