org\bovigo\vfs\vfsStreamContent::getName PHP Метод

getName() публичный Метод

returns the file name of the content
public getName ( ) : string
Результат string
    public function getName();

Usage Example

 /**
  * helper method to print the content
  *
  * @param  vfsStreamContent  $content
  */
 protected function printContent(vfsStreamContent $content)
 {
     fwrite($this->out, str_repeat('  ', $this->depth) . '- ' . $content->getName() . "\n");
 }