You are here

public function vfsStreamWrapperRecordingProxy::rename in Zircon Profile 8

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

rename from one path to another

Parameters

string $path_from:

string $path_to:

Return value

bool

Overrides vfsStreamWrapper::rename

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php, line 233

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function rename($path_from, $path_to) {
  self::recordMethodCall('rename', $path_from);
  return parent::rename($path_from, $path_to);
}