You are here

public function vfsStreamFile::open in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamFile.php \org\bovigo\vfs\vfsStreamFile::open()

simply open the file

@since 0.9

1 call to vfsStreamFile::open()
vfsStreamFile::openWithTruncate in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamFile.php
open file and truncate content

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamFile.php, line 127

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

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