/**
  * Helper method to inform the client, that new workspace information is available
  *
  * @return void
  */
 protected function updateWorkspaceInfo()
 {
     $nodeService = new NodeService();
     $updateWorkspaceInfo = new UpdateWorkspaceInfo();
     $updateWorkspaceInfo->setDocument($nodeService->getClosestDocument($this->getSubject()));
     $this->feedbackCollection->add($updateWorkspaceInfo);
 }
 /**
  * Helper method to inform the client, that new workspace information is available
  * @param string $documentNodeContextPath
  * @return void
  */
 protected function updateWorkspaceInfo($documentNodeContextPath)
 {
     $nodeService = new NodeService();
     $updateWorkspaceInfo = new UpdateWorkspaceInfo();
     $documnetNode = $this->nodeService->getNodeFromContextPath($documentNodeContextPath);
     $updateWorkspaceInfo->setDocument($nodeService->getClosestDocument($documnetNode));
     $this->feedbackCollection->add($updateWorkspaceInfo);
 }