/** * Create a shadow NodeData at the given path with the same workspace and dimensions as this * * Note: The constructor will already add the new object to the repository * * @param string $path The (original) path for the node data * @return NodeData */ public function createShadow($path) { $shadowNode = new NodeData($path, $this->workspace, $this->identifier, $this->dimensionValues); $shadowNode->similarize($this); $shadowNode->setAsShadowOf($this); return $shadowNode; }