Свойство | Тип | Описание | |
---|---|---|---|
$current | poiting to currently iterated directory | ||
$structure | collected structure |
Метод | Описание | |
---|---|---|
__construct ( ) | constructor | |
getStructure ( ) : array | returns structure of visited contents | |
reset ( ) : |
resets structure so visitor could be reused | |
visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : |
visit a block device and process it | |
visitDirectory ( |
visit a directory and process it | |
visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : |
visit a file and process it |
public getStructure ( ) : array | ||
Результат | array |
public reset ( ) : |
||
Результат |
public visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : |
||
$block | org\bovigo\vfs\vfsStreamBlock | |
Результат |
public visitDirectory ( |
||
$dir | ||
Результат |
public visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : |
||
$file | org\bovigo\vfs\vfsStreamFile | |
Результат |