PHP Класс org\bovigo\vfs\visitor\vfsStreamPrintVisitor

См. также: https://github.com/mikey179/vfsStream/issues/10
С версии: 0.10.0
Наследование: extends vfsStreamAbstractVisitor
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$depth current depth in directory tree
$out target to write output to

Открытые методы

Метод Описание
__construct ( resource $out = STDOUT ) constructor
visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : vfsStreamPrintVisitor visit a block device and process it
visitDirectory ( vfsStreamDirectory $dir ) : vfsStreamPrintVisitor visit a directory and process it
visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : vfsStreamPrintVisitor visit a file and process it

Защищенные методы

Метод Описание
printContent ( string $name ) helper method to print the content

Описание методов

__construct() публичный Метод

If no file pointer given it will fall back to STDOUT.
public __construct ( resource $out = STDOUT )
$out resource optional

printContent() защищенный Метод

helper method to print the content
protected printContent ( string $name )
$name string

visitBlockDevice() публичный Метод

visit a block device and process it
public visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : vfsStreamPrintVisitor
$block org\bovigo\vfs\vfsStreamBlock
Результат vfsStreamPrintVisitor

visitDirectory() публичный Метод

visit a directory and process it
public visitDirectory ( vfsStreamDirectory $dir ) : vfsStreamPrintVisitor
$dir org\bovigo\vfs\vfsStreamDirectory
Результат vfsStreamPrintVisitor

visitFile() публичный Метод

visit a file and process it
public visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : vfsStreamPrintVisitor
$file org\bovigo\vfs\vfsStreamFile
Результат vfsStreamPrintVisitor

Описание свойств

$depth защищенное свойство

current depth in directory tree
protected $depth

$out защищенное свойство

target to write output to
protected $out