renameFolder() abstract public méthode

Rename a folder.
abstract public renameFolder ( string $old, string $new ) : null
$old string The old path of the folder.
$new string The new path of the folder.
Résultat null
Exemple #1
0
 /**
  * Rename a folder.
  *
  * @param string $old The old path of the folder.
  * @param string $new The new path of the folder.
  *
  * @return NULL
  */
 public function renameFolder($old, $new)
 {
     $this->_logger->debug(sprintf('Renaming folder %s.', $old));
     $result = $this->_manipulation->renameFolder($old, $new);
     $this->_logger->debug(sprintf('Successfully renamed folder %s to %s.', $old, $new));
 }