You are here

public function PharStreamWrapper::rename in Drupal 7

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);
}