PHP Interface org\bovigo\vfs\visitor\vfsStreamVisitor

See also: https://github.com/mikey179/vfsStream/issues/10
Since: 0.10.0
Show file Open project: mikey179/vfsstream Interface Usage Examples

Public Methods

Method Description
visit ( org\bovigo\vfs\vfsStreamContent $content ) : org\bovigo\vfs\visitor\vfsStreamVisitor visit a content and process it
visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : org\bovigo\vfs\visitor\vfsStreamVisitor visit a block device and process it
visitDirectory ( vfsStreamDirectory $dir ) : org\bovigo\vfs\visitor\vfsStreamVisitor visit a directory and process it
visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : org\bovigo\vfs\visitor\vfsStreamVisitor visit a file and process it

Method Details

visit() public method

visit a content and process it
public visit ( org\bovigo\vfs\vfsStreamContent $content ) : org\bovigo\vfs\visitor\vfsStreamVisitor
$content org\bovigo\vfs\vfsStreamContent
return org\bovigo\vfs\visitor\vfsStreamVisitor

visitBlockDevice() public method

visit a block device and process it
public visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : org\bovigo\vfs\visitor\vfsStreamVisitor
$block org\bovigo\vfs\vfsStreamBlock
return org\bovigo\vfs\visitor\vfsStreamVisitor

visitDirectory() public method

visit a directory and process it
public visitDirectory ( vfsStreamDirectory $dir ) : org\bovigo\vfs\visitor\vfsStreamVisitor
$dir org\bovigo\vfs\vfsStreamDirectory
return org\bovigo\vfs\visitor\vfsStreamVisitor

visitFile() public method

visit a file and process it
public visitFile ( org\bovigo\vfs\vfsStreamFile $file ) : org\bovigo\vfs\visitor\vfsStreamVisitor
$file org\bovigo\vfs\vfsStreamFile
return org\bovigo\vfs\visitor\vfsStreamVisitor