Свойство | Type | Description | |
---|---|---|---|
$depth | current depth in directory tree | ||
$out | target to write output to |
Méthode | 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 |
Méthode | 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 | |
Résultat |
public visitDirectory ( |
||
$dir | ||
Résultat |
public visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : |
||
$file | org\bovigo\vfs\vfsStreamFile | |
Résultat |