/**
  * Serialize the payload for this feedback
  *
  * @return mixed
  */
 public function serializePayload()
 {
     return ['documentContextPath' => $this->getDocument()->getContextPath(), 'workspaceName' => $this->getDocument()->getContext()->getWorkspace()->getName(), 'workspaceInfo' => $this->workspaceService->getPublishableNodeInfo($this->getDocument()->getContext()->getWorkspace())];
 }
 public function getPublishableNodeInfo(Workspace $workspace)
 {
     return $this->workspaceService->getPublishableNodeInfo($workspace);
 }