function PharStreamWrapper::rename

Parameters

string $path_from:

string $path_to:

Return value

bool

File

misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php, line 121

Class

PharStreamWrapper

Namespace

TYPO3\PharStreamWrapper

Code

public function rename($path_from, $path_to) {
    $this->assert($path_from, Behavior::COMMAND_RENAME);
    $this->assert($path_to, Behavior::COMMAND_RENAME);
    return $this->invokeInternalStreamWrapper('rename', $path_from, $path_to, $this->context);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.