Jackalope\Transport\WritingInterface::cloneFrom PHP Method

cloneFrom() public method

There may be no node at dstAbsPath This method does not need to load the node but can execute the clone directly in the storage.
See also: WorkspaceInterface::cloneFrom
public cloneFrom ( string $srcWorkspace, string $srcAbsPath, string $destAbsPath, boolean $removeExisting )
$srcWorkspace string The workspace where the source node can be found
$srcAbsPath string Absolute source path to the node
$destAbsPath string Absolute destination path including the new node name
$removeExisting boolean whether to remove a node with the same identifier if there exists one
    public function cloneFrom($srcWorkspace, $srcAbsPath, $destAbsPath, $removeExisting);