public function rename($remote, $newRemote)
    {
        foreach ($this->connections as $connection) {
            $connection->rename($remote, $newRemote);
        }
    }
public function rename($remote, $newRemote)
    {
        foreach ($this->connections as $connection) {
            $connection->rename($remote, $newRemote);
        }
    }
public function rename ( $ remote , $ newRemote ) { foreach ( $ this -> connections as $ connection ) { $ connection -> rename ( $ remote , $ newRemote ) ; } }
Rename a remote file.

@param string $remote
@param string $newRemote

@return bool
Rename a remote file .