Jackalope\ObjectManager::getReferences PHP Method

getReferences() public method

Returns all accessible REFERENCE properties in the workspace that point to the node
See also: Node::getReferences()
public getReferences ( string $path, string $name = null ) : ArrayIterato\ArrayIterator
$path string the path of the referenced node
$name string name of referring REFERENCE properties to be returned; if null then all referring REFERENCEs are returned
return ArrayIterato\ArrayIterator
    public function getReferences($path, $name = null)
    {
        $references = $this->transport->getReferences($this->getFetchPath($path, 'Node'), $name);
        return $this->pathArrayToPropertiesIterator($references);
    }