/**
  * visit a block device and process it
  *
  * @param   vfsStreamBlock  $block
  * @return  vfsStreamPrintVisitor
  */
 public function visitBlockDevice(vfsStreamBlock $block)
 {
     $name = '[' . $block->getName() . ']';
     $this->printContent($name);
     return $this;
 }
 /**
  * visit a block device and process it
  *
  * @param   vfsStreamBlock $block
  * @return  vfsStreamStructureVisitor
  */
 public function visitBlockDevice(vfsStreamBlock $block)
 {
     $this->current['[' . $block->getName() . ']'] = $block->getContent();
     return $this;
 }