Jackalope\ObjectManager::getWeakReferences PHP Method

getWeakReferences() public method

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