You are here

public function vfsStreamAbstractContent::rename in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php \org\bovigo\vfs\vfsStreamAbstractContent::rename()

renames the content

Parameters

string $newName:

Overrides vfsStreamContent::rename

1 call to vfsStreamAbstractContent::rename()
vfsStreamDirectory::rename in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php
renames the content
1 method overrides vfsStreamAbstractContent::rename()
vfsStreamDirectory::rename in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php
renames the content

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php, line 116

Class

vfsStreamAbstractContent
Base stream contents container.

Namespace

org\bovigo\vfs

Code

public function rename($newName) {
  $this->name = $newName;
}