src/Sulu/Component/DocumentManager/ProxyFactory.php
public function createReferrerCollection($document)
    {
        $node = $this->registry->getNodeForDocument($document);
        $locale = $this->registry->getOriginalLocaleForDocument($document);

        return new ReferrerCollection(
            $node,
            $this->dispatcher,
            $locale
        );
    }
public function createReferrerCollection($document)
    {
        $node = $this->registry->getNodeForDocument($document);
        $locale = $this->registry->getOriginalLocaleForDocument($document);

        return new ReferrerCollection(
            $node,
            $this->dispatcher,
            $locale
        );
    }
public function createReferrerCollection ( $ document ) { $ node = $ this -> registry -> getNodeForDocument ( $ document ) ; $ locale = $ this -> registry -> getOriginalLocaleForDocument ( $ document ) ; return new ReferrerCollection ( $ node , $ this -> dispatcher , $ locale ) ; }
Create a new collection of referrers from a list of referencing items.

@param $document

@return ReferrerCollection
Create a new collection of referrers from a list of referencing items .