src/Sulu/Bundle/SnippetBundle/Snippet/SnippetRepository.php
public function getReferences($uuid)
    {
        $session = $this->sessionManager->getSession();
        $node = $session->getNodeByIdentifier($uuid);

        return iterator_to_array($node->getReferences());
    }
public function getReferences($uuid)
    {
        $session = $this->sessionManager->getSession();
        $node = $session->getNodeByIdentifier($uuid);

        return iterator_to_array($node->getReferences());
    }
public function getReferences ( $ uuid ) { $ session = $ this -> sessionManager -> getSession ( ) ; $ node = $ session -> getNodeByIdentifier ( $ uuid ) ; return iterator_to_array ( $ node -> getReferences ( ) ) ; }
Return the nodes which refer to the structure with the
given UUID.

@param string $uuid

@return \PHPCR\NodeInterface[]
Return the nodes which refer to the structure with the given UUID .