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

Breadcrumb

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

function vfsStreamFile::getContent

returns the contents of the file

Getting content does not change the time when the file was last accessed.

Return value

string

File

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

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

public function getContent() {
    return $this->content
        ->content();
}

API Navigation

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