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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$current poiting to currently iterated directory
$structure collected structure

공개 메소드들

메소드 설명
__construct ( ) constructor
getStructure ( ) : array returns structure of visited contents
reset ( ) : vfsStreamStructureVisitor resets structure so visitor could be reused
visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : vfsStreamStructureVisitor visit a block device and process it
visitDirectory ( vfsStreamDirectory $dir ) : vfsStreamStructureVisitor visit a directory and process it
visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : vfsStreamStructureVisitor visit a file and process it

메소드 상세

__construct() 공개 메소드

constructor
public __construct ( )

getStructure() 공개 메소드

returns structure of visited contents
public getStructure ( ) : array
리턴 array

reset() 공개 메소드

resets structure so visitor could be reused
public reset ( ) : vfsStreamStructureVisitor
리턴 vfsStreamStructureVisitor

visitBlockDevice() 공개 메소드

visit a block device and process it
public visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : vfsStreamStructureVisitor
$block org\bovigo\vfs\vfsStreamBlock
리턴 vfsStreamStructureVisitor

visitDirectory() 공개 메소드

visit a directory and process it
public visitDirectory ( vfsStreamDirectory $dir ) : vfsStreamStructureVisitor
$dir org\bovigo\vfs\vfsStreamDirectory
리턴 vfsStreamStructureVisitor

visitFile() 공개 메소드

visit a file and process it
public visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : vfsStreamStructureVisitor
$file org\bovigo\vfs\vfsStreamFile
리턴 vfsStreamStructureVisitor

프로퍼티 상세

$current 보호되어 있는 프로퍼티

poiting to currently iterated directory
protected $current

$structure 보호되어 있는 프로퍼티

collected structure
protected $structure