You are here

interface vfsStreamVisitor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/visitor/vfsStreamVisitor.php \org\bovigo\vfs\visitor\vfsStreamVisitor

Interface for a visitor to work on a vfsStream content structure.

@since 0.10.0

Hierarchy

Expanded class hierarchy of vfsStreamVisitor

All classes that implement vfsStreamVisitor

See also

https://github.com/mikey179/vfsStream/issues/10

1 file declares its use of vfsStreamVisitor
vfsStream.php in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStream.php

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/visitor/vfsStreamVisitor.php, line 22

Namespace

org\bovigo\vfs\visitor
View source
interface vfsStreamVisitor {

  /**
   * visit a content and process it
   *
   * @param   vfsStreamContent  $content
   * @return  vfsStreamVisitor
   */
  public function visit(vfsStreamContent $content);

  /**
   * visit a file and process it
   *
   * @param   vfsStreamFile  $file
   * @return  vfsStreamVisitor
   */
  public function visitFile(vfsStreamFile $file);

  /**
   * visit a directory and process it
   *
   * @param   vfsStreamDirectory  $dir
   * @return  vfsStreamVisitor
   */
  public function visitDirectory(vfsStreamDirectory $dir);

  /**
   * visit a block device and process it
   *
   * @param   vfsStreamBlock  $block
   * @return  vfsStreamVisitor
   */
  public function visitBlockDevice(vfsStreamBlock $block);

}

Members

Namesort descending Modifiers Type Description Overrides
vfsStreamVisitor::visit public function visit a content and process it 1
vfsStreamVisitor::visitBlockDevice public function visit a block device and process it 1
vfsStreamVisitor::visitDirectory public function visit a directory and process it 2
vfsStreamVisitor::visitFile public function visit a file and process it 2