private function moveKey($sourceKey, $targetKey)
    {
        if (!$this->isDistant($sourceKey)) {
            return $this->mountManager->move($sourceKey, $targetKey);
        }

        if ($this->mountManager->copy($sourceKey, $targetKey)) {
            return true;
        }
        if ($this->reconnectDistantFs($sourceKey)) {
            if ($this->mountManager->copy($sourceKey, $targetKey)) {
                return true;
            }
        }

        return false;
    }
private function moveKey($sourceKey, $targetKey)
    {
        if (!$this->isDistant($sourceKey)) {
            return $this->mountManager->move($sourceKey, $targetKey);
        }

        if ($this->mountManager->copy($sourceKey, $targetKey)) {
            return true;
        }
        if ($this->reconnectDistantFs($sourceKey)) {
            if ($this->mountManager->copy($sourceKey, $targetKey)) {
                return true;
            }
        }

        return false;
    }
private function moveKey ( $ sourceKey , $ targetKey ) { if ( ! $ this -> isDistant ( $ sourceKey ) ) { return $ this -> mountManager -> move ( $ sourceKey , $ targetKey ) ; } if ( $ this -> mountManager -> copy ( $ sourceKey , $ targetKey ) ) { return true ; } if ( $ this -> reconnectDistantFs ( $ sourceKey ) ) { if ( $ this -> mountManager -> copy ( $ sourceKey , $ targetKey ) ) { return true ; } } return false ; }
Copies or moves the distant source key to target key.

@param string $sourceKey
@param string $targetKey
@return bool
Copies or moves the distant source key to target key .