Jackalope\Transport\DoctrineDBAL\Client::getIdentifier PHP Method

getIdentifier() protected method

Determine a UUID for the node at this path with these properties
protected getIdentifier ( string $path, Property[] $properties ) : string
$path string
$properties Jackalope\Property[]
return string a unique id
    protected function getIdentifier($path, $properties)
    {
        if (isset($this->nodeIdentifiers[$path])) {
            return $this->nodeIdentifiers[$path];
        }
        if (isset($properties['jcr:uuid'])) {
            return $properties['jcr:uuid']->getValue();
        }
        // we always generate a uuid, even for non-referenceable nodes that have no automatic uuid
        return $this->generateUuid();
    }