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

Breadcrumb

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

function vfsStreamFile::openForAppend

open file and set pointer to end of file

@since 0.9

File

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

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

public function openForAppend() {
    $this->content
        ->seek(0, SEEK_END);
    $this->lastAccessed = time();
}

API Navigation

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