Documentation

vfsStreamStructureVisitor extends vfsStreamAbstractVisitor
in package

Visitor which traverses a content structure recursively to create an array structure from it.

Tags
since
0.10.0
see
https://github.com/mikey179/vfsStream/issues/10

Table of Contents

$current  : mixed
poiting to currently iterated directory
$structure  : mixed
collected structure
__construct()  : mixed
constructor
getStructure()  : array<string|int, mixed>
returns structure of visited contents
reset()  : vfsStreamStructureVisitor
resets structure so visitor could be reused
visit()  : vfsStreamVisitor
visit a content and process it
visitBlockDevice()  : vfsStreamStructureVisitor
visit a block device and process it
visitDirectory()  : vfsStreamStructureVisitor
visit a directory and process it
visitFile()  : vfsStreamStructureVisitor
visit a file and process it

Properties

Methods

getStructure()

returns structure of visited contents

public getStructure() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results