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

Breadcrumb

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

function vfsStreamWrapper::getRoot

returns the root content

Return value

vfsStreamContainer

3 calls to vfsStreamWrapper::getRoot()
vfsStream::copyFromFileSystem in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStream.php
copies the file system structure from given path into the base dir
vfsStream::create in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStream.php
creates vfsStream directory structure from an array and adds it to given base dir
vfsStream::inspect in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStream.php
use visitor to inspect a content structure

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php, line 169

Class

vfsStreamWrapper
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public static function getRoot() {
    return self::$root;
}

API Navigation

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