프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 | |
리턴 |