You are here

public static function vfsStreamWrapper::getRoot in Zircon Profile 8

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

returns the root content

Return value

vfsStreamContainer

14 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
vfsStreamTestCase::setupRegistersStreamWrapperAndCreatesRootDirectoryWithDefaultNameAndPermissions in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php
@test @group setup @since 0.7.0
vfsStreamTestCase::setupRegistersStreamWrapperAndCreatesRootDirectoryWithGivenNameAndDefaultPermissions in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php
@test @group setup @since 0.7.0

... See full list

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php, line 163

Class

vfsStreamWrapper
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

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