Property | Type | Description | |
---|---|---|---|
$depth | current depth in directory tree | ||
$out | target to write output to |
Method | Description | |
---|---|---|
__construct ( resource $out = STDOUT ) | constructor | |
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 |
Method | Description | |
---|---|---|
printContent ( string $name ) | helper method to print the content |
public __construct ( resource $out = STDOUT ) | ||
$out | resource | optional |
protected printContent ( string $name ) | ||
$name | string |
public visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : |
||
$block | org\bovigo\vfs\vfsStreamBlock | |
return |
public visitDirectory ( |
||
$dir | ||
return |
public visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : |
||
$file | org\bovigo\vfs\vfsStreamFile | |
return |