public function getOriginalPaths()
    {
        if (null === $this->originalReferrerPaths) {
            $this->originalReferrerPaths = [];
            if (self::INITIALIZED_FROM_COLLECTION === $this->initialized) {
                $uow = $this->dm->getUnitOfWork();
                foreach ($this->collection as $referrer) {
                    $this->originalReferrerPaths[] = $uow->getDocumentId($referrer);
                }
            } else {
                $properties = $this->getReferrerProperties();
                foreach ($properties as $property) {
                    $this->originalReferrerPaths[] = $property->getPath();
                }
            }
        }

        return $this->originalReferrerPaths;
    }
public function getOriginalPaths()
    {
        if (null === $this->originalReferrerPaths) {
            $this->originalReferrerPaths = [];
            if (self::INITIALIZED_FROM_COLLECTION === $this->initialized) {
                $uow = $this->dm->getUnitOfWork();
                foreach ($this->collection as $referrer) {
                    $this->originalReferrerPaths[] = $uow->getDocumentId($referrer);
                }
            } else {
                $properties = $this->getReferrerProperties();
                foreach ($properties as $property) {
                    $this->originalReferrerPaths[] = $property->getPath();
                }
            }
        }

        return $this->originalReferrerPaths;
    }
public function getOriginalPaths ( ) { if ( null === $ this -> originalReferrerPaths ) { $ this -> originalReferrerPaths = [ ] ; if ( self :: INITIALIZED_FROM_COLLECTION === $ this -> initialized ) { $ uow = $ this -> dm -> getUnitOfWork ( ) ; foreach ( $ this -> collection as $ referrer ) { $ this -> originalReferrerPaths [ ] = $ uow -> getDocumentId ( $ referrer ) ; } } else { $ properties = $ this -> getReferrerProperties ( ) ; foreach ( $ properties as $ property ) { $ this -> originalReferrerPaths [ ] = $ property -> getPath ( ) ; } } } return $ this -> originalReferrerPaths ; }
Return the ordered list of referrer properties that existed when the
collection was initialized.

@return array absolute paths to the properties of this collection.
Return the ordered list of referrer properties that existed when the collection was initialized .