Jackalope\Transport\TransportInterface::getNodePathForIdentifier PHP Method

getNodePathForIdentifier() public method

Get the node path from a JCR uuid. This is mainly useful for cross-workspace functionality like clone or updateFrom.
See also: getNodeByIdentifier
public getNodePathForIdentifier ( string $uuid, string $workspace = null ) : string
$uuid string the unique uuid to find the path of
$workspace string pass null to use the current workspace of this transport
return string Absolute path to the node (not the node itself!)
    public function getNodePathForIdentifier($uuid, $workspace = null);

Usage Example

 /**
  * {@inheritDoc}
  */
 public function getNodePathForIdentifier($uuid, $workspace = null)
 {
     $this->logger->startCall(__FUNCTION__, func_get_args());
     $result = $this->transport->getNodePathForIdentifier($uuid, $workspace);
     $this->logger->stopCall();
     return $result;
 }
All Usage Examples Of Jackalope\Transport\TransportInterface::getNodePathForIdentifier