protected function hasNodeUriChanged(NodeInterface $node, Workspace $targetWorkspace): bool
    {
        $newUriPath = $this->buildUriPathForNode($node);
        $newUriPath = $this->removeContextInformationFromRelativeNodeUri($newUriPath);

        $nodeInTargetWorkspace = $this->getNodeInWorkspace($node, $targetWorkspace);
        if (!$nodeInTargetWorkspace) {
            return false;
        }
        $oldUriPath = $this->buildUriPathForNode($nodeInTargetWorkspace);
        $oldUriPath = $this->removeContextInformationFromRelativeNodeUri($oldUriPath);

        return ($newUriPath !== $oldUriPath);
    }
protected function hasNodeUriChanged(NodeInterface $node, Workspace $targetWorkspace): bool
    {
        $newUriPath = $this->buildUriPathForNode($node);
        $newUriPath = $this->removeContextInformationFromRelativeNodeUri($newUriPath);

        $nodeInTargetWorkspace = $this->getNodeInWorkspace($node, $targetWorkspace);
        if (!$nodeInTargetWorkspace) {
            return false;
        }
        $oldUriPath = $this->buildUriPathForNode($nodeInTargetWorkspace);
        $oldUriPath = $this->removeContextInformationFromRelativeNodeUri($oldUriPath);

        return ($newUriPath !== $oldUriPath);
    }
protected function hasNodeUriChanged ( NodeInterface $ node , Workspace $ targetWorkspace ) : bool { $ newUriPath = $ this -> buildUriPathForNode ( $ node ) ; $ newUriPath = $ this -> removeContextInformationFromRelativeNodeUri ( $ newUriPath ) ; $ nodeInTargetWorkspace = $ this -> getNodeInWorkspace ( $ node , $ targetWorkspace ) ; if ( ! $ nodeInTargetWorkspace ) { return false ; } $ oldUriPath = $ this -> buildUriPathForNode ( $ nodeInTargetWorkspace ) ; $ oldUriPath = $ this -> removeContextInformationFromRelativeNodeUri ( $ oldUriPath ) ; return ( $ newUriPath !== $ oldUriPath ) ; }
Has the Uri changed at all.

@param NodeInterface $node
@param Workspace $targetWorkspace
@return bool
@throws \Neos\Flow\Mvc\Routing\Exception\MissingActionNameException
Has the Uri changed at all .