public function vfsStreamPrintVisitor::visitBlockDevice in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/visitor/vfsStreamPrintVisitor.php \org\bovigo\vfs\visitor\vfsStreamPrintVisitor::visitBlockDevice()
visit a block device and process it
Parameters
vfsStreamBlock $block:
Return value
Overrides vfsStreamAbstractVisitor::visitBlockDevice
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ visitor/ vfsStreamPrintVisitor.php, line 73
Class
- vfsStreamPrintVisitor
- Visitor which traverses a content structure recursively to print it to an output stream.
Namespace
org\bovigo\vfs\visitorCode
public function visitBlockDevice(vfsStreamBlock $block) {
$name = '[' . $block
->getName() . ']';
$this
->printContent($name);
return $this;
}