Jackalope\Transport\Jackrabbit\Client::copyNodeOtherWorkspace PHP Method

copyNodeOtherWorkspace() private method

As seen with jackrabbit 2.6
private copyNodeOtherWorkspace ( string $srcAbsPath, $dstAbsPath, string $srcWorkspace )
$srcAbsPath string Absolute source path to the node
$srcWorkspace string The workspace where the source node can be found or null for current workspace
    private function copyNodeOtherWorkspace($srcAbsPath, $dstAbsPath, $srcWorkspace)
    {
        $request = $this->getRequest(Request::POST, $this->workspaceUri);
        $request->setContentType("application/x-www-form-urlencoded; charset=utf-8");
        $request->setBody(urlencode(':copy') . '=' . urlencode($srcWorkspace . ',' . $srcAbsPath . ',' . $dstAbsPath));
        $request->execute();
    }