org\bovigo\vfs\visitor\vfsStreamPrintVisitor::visitBlockDevice PHP Méthode

visitBlockDevice() public méthode

visit a block device and process it
public visitBlockDevice ( org\bovigo\vfs\vfsStreamBlock $block ) : vfsStreamPrintVisitor
$block org\bovigo\vfs\vfsStreamBlock
Résultat vfsStreamPrintVisitor
    public function visitBlockDevice(vfsStreamBlock $block)
    {
        $name = '[' . $block->getName() . ']';
        $this->printContent($name);
        return $this;
    }