Jackalope\Transport\Jackrabbit\Client::copyNodeSameWorkspace PHP Méthode

copyNodeSameWorkspace() private méthode

For copy within the same workspace, this is a COPY request.
private copyNodeSameWorkspace ( string $srcAbsPath, $dstAbsPath )
$srcAbsPath string Absolute source path to the node
    private function copyNodeSameWorkspace($srcAbsPath, $dstAbsPath)
    {
        $srcAbsPath = $this->encodeAndValidatePathForDavex($srcAbsPath);
        $dstAbsPath = $this->encodeAndValidatePathForDavex($dstAbsPath);
        $request = $this->getRequest(Request::COPY, $srcAbsPath);
        $request->setDepth(Request::INFINITY);
        $request->addHeader('Destination: ' . $this->addWorkspacePathToUri($dstAbsPath));
        $request->execute();
    }