public function getReferences()
    {
        if (null === $this->referenceBag) {
            $this->referenceBag = new ReferenceBag($this);
        }

        return $this->referenceBag;
    }
public function getReferences()
    {
        if (null === $this->referenceBag) {
            $this->referenceBag = new ReferenceBag($this);
        }

        return $this->referenceBag;
    }
public function getReferences ( ) { if ( null === $ this -> referenceBag ) { $ this -> referenceBag = new ReferenceBag ( $ this ) ; } return $ this -> referenceBag ; }
Returns the reference list associated to the repository.

@return ReferenceBag
Returns the reference list associated to the repository .