org\bovigo\vfs\vfsStreamWrapper::getContent PHP Метод

getContent() защищенный Метод

returns content for given path
protected getContent ( string $path ) : org\bovigo\vfs\vfsStreamContent
$path string
Результат org\bovigo\vfs\vfsStreamContent
    protected function getContent($path)
    {
        if (null === self::$root) {
            return null;
        }
        if (self::$root->getName() === $path) {
            return self::$root;
        }
        if ($this->isInRoot($path) && self::$root->hasChild($path) === true) {
            return self::$root->getChild($path);
        }
        return null;
    }