protected updateWorkspaceInfo ( string $documentNodeContextPath ) : void | ||
$documentNodeContextPath | string | |
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);
}