Свойство | Type | Description | |
---|---|---|---|
$current | poiting to currently iterated directory | ||
$structure | collected structure |
Méthode | Description | |
---|---|---|
__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 | ||
Résultat | array |
public reset ( ) : |
||
Résultat |
public visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : |
||
$block | org\bovigo\vfs\vfsStreamBlock | |
Résultat |
public visitDirectory ( |
||
$dir | ||
Résultat |
public visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : |
||
$file | org\bovigo\vfs\vfsStreamFile | |
Résultat |