PHPDaemon\Clients\IMAP\Connection::renameFolder PHP Метод

renameFolder() публичный Метод

rename and/or move folder
public renameFolder ( $cb, string $oldName, string $newName )
$oldName string name or instance of folder
$newName string new global name of folder
    public function renameFolder($cb, $oldName, $newName)
    {
        $this->onResponse->push($cb);
        $this->writeln(self::TAG_RENAMEFOLDER . " RENAME " . $this->escapeString($oldName) . " " . $this->escapeString($newName));
    }