renames the content
string $newName:
vfsStreamException
Overrides vfsStreamAbstractContent::rename
public function rename($newName) { if (strstr($newName, '/') !== false) { throw new vfsStreamException('Directory name can not contain /.'); } parent::rename($newName); }