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

Breadcrumb

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

function vfsStreamFile::readUntilEnd

returns the content until its end from current offset

Using this method changes the time when the file was last accessed.

Return value

string

Deprecated

since 1.3.0

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamFile.php, line 180

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

public function readUntilEnd() {
    $this->lastAccessed = time();
    return $this->content
        ->readUntilEnd();
}

API Navigation

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