PHP 클래스 org\bovigo\vfs\visitor\vfsStreamPrintVisitor

또한 보기: https://github.com/mikey179/vfsStream/issues/10
부터: 0.10.0
상속: extends vfsStreamAbstractVisitor
파일 보기 프로젝트 열기: mikey179/vfsstream

보호된 프로퍼티들

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